Element

embed

Error Type

Known

Guidelines

Requirement

embed must have alt attribute.

Error

embed missing alt attribute.

Short Description

embed element must have an alt attribute.

How To Repair

Add an alt attribute to the embed element. The alt attribute value should describe the embed source.

Steps To Check

Procedure

1. TODO.

Expected Result

1. TODO.

Failed Result

1. TODO.

Examples

Pass Examples

embed with alt attribute.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #165 - Negative</title>
</head>
<body>
<embed alt="description of the embed" src="demo.mov">
<noembed>Alternate content for the embed</noembed>
</embed>
</body>
</html>

Fail Examples

embed missing alt attribute.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #165 - Positive</title>
</head>
<body>
<embed src="demo.mov">
<noembed>Alternate content for the embed</noembed>
</embed>
</body>
</html>

English | German | Italiano


Web site engine's code is copyright © 2011
Inclusive Design Institute
Web Service API