Requirement 3: Text Equivalents
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 is the empty string ("") if the image is decorative.
| Question | Is this image decorative? |
|---|---|
| PASS | Image is not decorative. |
| FAIL | Image is decorative. |
img element and view its Alt text.img elements is the empty string ("") if the image is decorative.<?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> <title>OAC Testfile - Check #16 - Negative</title> </head> <body> <p>My poem requires a big space<img src="10pttab.gif" alt="" width="5" height="5"/>here.</p> </body> </html>
<?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> <title>OAC Testfile - Check #16 - Positive</title> </head> <body> <p>My poem requires a big space<img src="10pttab.gif" alt="big space" width="5" height="5"/>here.</p> </body> </html>