input
elements with a type
attribute value of "image" have an alt
attribute.
input
element is missing Alt text.
input
element with type
of "image" must have an alt
attribute.
alt
attribute that describes the image to input
element.
input
elements that have a type
attribute value of "image".alt
attribute.input
elements with a type
attribute value of "image" have an alt
attribute.alt
attribute to the input
element.alt
attribute value so it describes the function of the input
element.input
element, type
of "image", has 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> <title>OAC Testfile - Check #58 - Negative</title> </head> <body> <form action="http://example.com/prog/text-read" method="post"> <p><input type="image" name="submit" src="finddogs.gif" alt="Find Dogs" /></p> </form> </body> </html>
input
element, type
of "image", is missing 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> <title>OAC Testfile - Check #58 - Positive</title> </head> <body> <form action="http://example.com/prog/text-read" method="post"> <p><input type="image" name="submit" src="finddogs.gif" /></p> </form> </body> </html>