W3CWeb Accessibility Initiative Home

font-family

On this page: Test 1 | References | About these tests

Nearby: More HTML 4.01 Tests | UAAG 1.0 Test Suite

UAAG 1.0 Requirement

Checkpoint 4.2 Configure font family (Priority 1 )
Provision 1 : Allow global configuration of the font family of all visually rendered text content.
Provision 2 : As part of satisfying provision one of this checkpoint, provide a configuration option to override font families specified by the author or by user agent defaults.

Test 1 :

Procedure

  1. Configure the user agent to render the following test text using font families different than the author specified font families.

Run test

Serif font

Sans-serif font

Monospace font

Cursive font

Fantasy font

Times New Roman, serif font set

Verdana, sans-serif font set

Courier, monospace font set

Caflisch Script, cursive font set

Alpha Geometrique, fantasy font set

Expected results

  1. The user agent allows the user to chose font families to be used to render text.
  2. The user agent makes available to the user a range of font families.

Source code

<div style="font-size: large">
  <p style="font-family: serif">Serif font</p>
  <p style="font-family: sans-serif">Sans-serif font</p>
  <p style="font-family: monospace">Monospace font</p>
  <p style="font-family: cursive">Cursive font</p>
  <p style="font-family: fantasy">Fantasy font</p>
  <p style="font-family: 'times new roman', serif">Times New Roman, serif font set</p>
  <p style="font-family: verdana, sans-serif">Verdana, sans-serif font set</p>
  <p style="font-family: courier, monospace">Courier, monospace font set</p>
  <p style="font-family: 'caflisch script', cursive">Caflisch Script, cursive font set</p>
  <p style="font-family: 'alpha geometrique', fantasy">Alpha Geometrique, fantasy font set</p>
</div>

References

  1. HTML 4.01 specification for STYLE
  2. CSS2 specification for font-family

About this test suite

This test is part of a test suite for the User Agent Accessibility Guidelines (UAAG) 1.0 . This work is conducted by the User Agent Accessibility Guidelines Working Group , which is part of W3C's Web Accessibility Initiative (WAI) . Please send comments on this test to w3c-wai-ua@w3.org ( public archive ).


Test created by:

Last modified: $Date: 2003/07/29 21:31:19 $ by $Author: koteles $