img
elements contains all text in the image unless the image text is decorative or appears elsewhere in the document.
img
elements that have a width and height greater than 50.
Question | Is any text within the image also in the Alt text (unless text is decorative or redundant)? |
---|---|
PASS | Any text in image is also in Alt text or text in image is decorative or redundant. |
FAIL | Image contains some text that is not in Alt text. |
img
element in the document, check if the associated image contains any text.longdesc
attribute or elsewhere in the document content.img
elements contains all text in the image unless the image text is decorative or appears elsewhere in the content.alt
attribute value so it contains any text within the image.<?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>OAC Testfile - Check #11 - Negative</title> </head> <body> <p><img src="http://www.freeiconsweb.com/Bookmark/su.png" alt="W3C Working Draft logo"/></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> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>OAC Testfile - Check #11 - Positive</title> </head> <body> <p><img src="http://www.w3.org/2005/11/MWI-Icons/MWI-Picto.png" alt="logo" /></p> </body> </html>