Element

link

Error Type

Potential

Guidelines

  • BITV 1.0 (Level 2)
    Guideline GroupLevel 1
    Guideline Subgroup6.1 Organize documents so they may be read without style sheets.
  • WCAG 1.0 (Level A)
    Guideline GroupPriority 1
    Guideline Subgroup6.1 Organize documents so they may be read without style sheets.
  • WCAG 1.0 (Level AA)
    Guideline GroupPriority 1
    Guideline Subgroup6.1 Organize documents so they may be read without style sheets.
  • WCAG 1.0 (Level AAA)
    Guideline GroupPriority 1
    Guideline Subgroup6.1 Organize documents so they may be read without style sheets.

Requirement

Document must be readable when stylesheets are not applied.

Error

Document may not be readable when stylesheets are removed.

Short Description

This error will be generated for each link element that has a rel attribute with a value of "stylesheet".

How To Determine

Question Is this page readable when stylesheets are removed?
PASS Page is readable when stylesheets are removed.
FAIL Page is not readable when stylesheets are removed.

Steps To Check

Procedure

1. Check for any link elements that have a rel attribute value of "stylesheet".
2. If any of these elements are found then remove or disable them.
3. View the document to ensure it is readable.

Expected Result

1. The document must be readable when LINK stylesheets are not applied.

Failed Result

1. Modify the document so it is readable when LINK stylesheets are not applied.

Examples

Pass Examples

link element does not have rel attribute with value of "stylesheet".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #97 - Negative</title>
<link href="docB" rel="foo">
</head>
<body>
</body>
</html>

Fail Examples

link element has rel attribute with value of "stylesheet".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #97 - Positive</title>
<link href="docB" rel="stylesheet">
</head>
<body>
</body>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute