Element

embed

Error Type

Known

Guidelines

  • Stanca Act
    Guideline GroupRequirement 15: Script/Object Alternatives

Requirement

embed must not have empty Alt text.

Error

embed has null Alt text.

Short Description

embed element cannot have alt attribute value of null ("") or whitespace.

How To Repair

Add text to the alt attribute that describes the embed source.

Steps To Check

Procedure

1. TODO.

Expected Result

1. TODO.

Failed Result

1. TODO.

Examples

Pass Examples

embed with valid 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 #166 - 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 with empty 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 #166 - Positive</title>
</head>
<body>
<embed alt=""  src="demo.mov">
<noembed>Alternate content for the embed</noembed>
</embed>
</body>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute