Element

frame

Error Type

Potential

Guidelines

Requirement

The source for each frame is accessible content.

Error

frame source may not be accessible content.

Short Description

frame content should be accessible, like HTML, not just an image.

How To Determine

Question Is the frame source accessible?
PASS frame source is accessible.
FAIL frame source is not accessible.

Steps To Check

Procedure

1. Check the src attribute of each frame element in the content.
2. View the content associated with the src attribute.

Expected Result

1. The source for each frame is accessible content.

Failed Result

1. Modify the source content for the frame so it is accessible.

Examples

Pass Examples

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>

Fail Examples

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>
Web site engine's code is copyright © 2023
Inclusive Design Institute