Element

font

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)

Requirement

font must not be used.

Error

font used.

Short Description

This error is generated for all font elements.

How To Repair

Remove the font element from the document.

Steps To Check

Procedure

1. Check the document for any font elements.

Expected Result

1. The document must not contain any font elements.

Failed Result

1. Remove the font elements from the document.

Examples

Pass Examples

Does not contain a font 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 #177 - Negative</title>
</head>
<body>
</body>
</html>

Fail Examples

Contains a font 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 #177 - Positive</title>
</head>
<body>
<font size="4"/>
</body>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute