Element

frame

Error Type

Known

Guidelines

Requirement

frame element is not used.

Error

frame element used.

Short Description

This error is generated for all frame elements.

How To Repair

Remove the frame element and modify the structure of your site.

Steps To Check

Procedure

1. Find any frame elements in the document.

Expected Result

1. The document is expected to contain no frame elements.

Failed Result

1. Remove any frame elements from the document.

Examples

Pass Examples

Does not have a frame element.
<?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 - 234.2 - Negative</title>
</head>
<body>
<p><img src="rex.jpg" alt="A black and brown cat named Rex."/></p>
</body>
</html>

Fail Examples

Contains a frame element.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>ATRC Testfile - 234.1 - Positive</title>
</head>
<frameset cols="33%,33%,33%">
<frameset rows="*,200">
<frame src="contents_of_frame1.html">
<frame src="contents_of_frame2.gif">
</frameset>
<frame src="contents_of_frame3.html">
<frame src="contents_of_frame4.html">
</frameset>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute