Level 1
1.1 Provide a text equivalent for every non-text element.
A - text equivalents
Requirement 3: Text Equivalents
Priority 1
1.1 Provide a text equivalent for every non-text element.
Priority 1
1.1 Provide a text equivalent for every non-text element.
Priority 1
1.1 Provide a text equivalent for every non-text element.
1.1 Text Altrernatives: Provide text alternatives for any non-text content
Success Criteria 1.1.1 Non-text Content (A)
1.1 Text Alternatives: Provide text alternatives for any non-text content
Success Criteria 1.1.1 Non-text Content (A)
1.1 Text Alternatives: Provide text alternatives for all non-text content
Success Criteria 1.1.1 Non-text Content (A)
img elements have an alt attribute.
img element missing alt attribute.
img elements must have an alt attribute.
alt attribute to your img element.
<img src="rex.jpg" alt="a picture of Rex the cat" />
img element for the presence of an alt attribute.img elements have an alt attribute.alt attribute to each img element.img element with an alt attribute.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>Testfile - Check #1 - Negative</title> </head> <body> <p><img src="rex.jpg" alt="A black and brown cat named Rex."/></p> </body> </html>
img element without an alt attribute.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>Testfile - Check #1 - Positive</title> </head> <body> <p><img src="rex.jpg"/></p> </body> </html>