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)
input elements, except those with with a type attribute value of "image", do not have an alt attribute.
input element has alt attribute.
input element is used to create many kinds of form controls. Although the HTML DTD permits the alt attribute on all of these, it should be used only on image submit buttons. User agent support for this attribute on other types of form controls is not well defined, and other mechanisms are used to label these controls.
alt attribute from all input elements except those with a type attribute value of "image".
input element in the document.type attribute value of the input element.alt attribute.input elements, except those with with a type attribute value of "image", do not have an alt attribute.alt attribute from all input elements except those with a type attribute value of "image".input element with type of "submit" does not have 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>ATRC Testfile - Check #238.2 - Negative</title> </head> <body> <form action="http://mysite.com"> <p><input type="submit" value="submit"/></p> </form> </body> </html>
input element with type of "submit" has 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>ATRC Testfile - Check #238.1 - Positive</title> </head> <body> <form action="http://mysite.com"> <p><input type="submit" value="submit" alt="submit the form"/></p> </form> </body> </html>