Element

basefont

Error Type

Known

Guidelines

  • WCAG 1.0 (Level AA)
    Guideline GroupPriority 2
    Guideline Subgroup3.3 Use style sheets to control layout and presentation.
  • WCAG 1.0 (Level AAA)
    Guideline GroupPriority 2
    Guideline Subgroup3.3 Use style sheets to control layout and presentation.
  • WCAG 2.0 (Level AA)
    Guideline Group1.4 Distinguishable: Make it easier for users to see and hear content including separating foreground from background.
    Guideline SubgroupSuccess Criteria 1.4.4 Resize text (AA)
  • WCAG 2.0 (Level AAA)
    Guideline Group1.4 Distinguishable: Make it easier for users to see and hear content including separating foreground from background.
    Guideline SubgroupSuccess Criteria 1.4.4 Resize text (AA)
  • WCAG SRWSD

Requirement

basefont must not be used.

Error

basefont used.

Short Description

This error is generated for all basefont elements.

How To Repair

Remove the basefont element from the document.

Steps To Check

Procedure

1. Check the document for any basefont elements.

Expected Result

1. The document must not contain any basefont elements.

Failed Result

1. Remove the basefont elements from the document.

Examples

Pass Examples

Does not contain a basefont element.
<!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 #176 - Negative</title>
</head>
<body>
</body>
</html>

Fail Examples

Contains a basefont element.
<!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 #176 - Positive</title>
</head>
<body>
<basefont face="Arial" size="4"/>
</body>
</html>

English | German | Italiano


Web site engine's code is copyright © 2011
Inclusive Design Institute
Web Service API