W3C home > Mailing lists > Public > w3c-wai-ua@w3.org > January to March 2000

Techniques for 4.14

From: Jim Allan <allan_jm@tsb1.tsbvi.edu>
Date: Thu, 10 Feb 2000 12:38:56 -0600
To: WAU-ua <w3c-wai-ua@w3.org>
Message-id: <NBBBIBAJLBJPFGFFMBMEIEDBDLAA.allan_jm@tsb1.tsbvi.edu>
Check point
4.14 Allow the user to configure how the content focus is highlighted (e.g.,
foreground and background color). [Priority 1]

The user can configure how content focus is highlighted by using the :active
pseudo-class of cascading style sheets for html elements.

for example

A:active {background: blue; color: yellow }

would cause links that are activated via the tab key will appear with a blue
background and yellow text.

in the future when :focus pseudo element and "outline" border is supported
in browsers then

textarea:focus { outline: thick black solid; }

would cause textareas that have keyboard focus to appear with a thick solid
black outline(border).

Jim Allan, Statewide Technical Support Specialist
Texas School for the Blind and Visually Impaired
1100 W. 45th St., Austin, Texas 78756
voice 512.206.9315    fax: 512.206.9453  http://www.tsbvi.edu/
"Be BOLD and mighty forces will come to your aid." Basil King
Received on Thursday, 10 February 2000 13:40:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:38:25 UTC