frame
is accessible content.
frame
source may not be accessible content.
frame
content should be accessible, like HTML, not just an image.
Question | Is the frame source accessible? |
---|---|
PASS | frame source is accessible. |
FAIL | frame source is not accessible. |
src
attribute of each frame
element in the content.src
attribute.frame
is accessible content.frame
so it is accessible.frame
content accessible - image within HTML page
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.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 #33 - Negative</title> </head> <frameset> <frame src="rex.html" title="a frame with accessible content"/> </frameset> <!-- The file 'rex.html' contains the HTML code: <?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 #33 - Negative</title> </head> <body> <p><img src="rex.jpg" alt="Photo of a brown and black cat named Rex."/></p> </body> </html> --> </html>
frame
content not accessible - just image
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.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 #33 - Positive</title> </head> <frameset> <frame src="rex.jpg" title="a demo frame with poor content"/> </frameset> </html>