W3CWeb Accessibility Initiative Home

Search Text Using a Single Key

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 11.4 Single-key access (Priority 2 )
Provision 2 : For each functionality in the set required by checkpoint 11.5, allow the user to configure a single-key binding. A single-key binding is one where a single key press performs the task, with zero modifier keys.

Test 1 :

Procedure

  1. Configure the user agent so that a single key can be used to search for a character string in the rendered test text.
  2. Use a single key to search the test text for the string "Hulks".
  3. Use a single key to search the test text again for the string "Hulks".
  4. (Note: a single key binding is not necessary for entering the charactersss of the search string)

Run test

Paragraph 1

It was too much for Mrs. Joe, who immediately rose. "I tell you what, young fellow," said she, "I didn't bring you up by hand to badger people's lives out. It would be blame to me, and not praise, if I had. People are put in the Hulks because they murder, and because they rob, and forge, and do all sorts of bad; and they always begin by asking questions. Now, you get along to bed!"

Paragraph 2

I was never allowed a candle to light me to bed, and, as I went upstairs in the dark, with my head tingling - from Mrs. Joe's thimble having played the tambourine upon it, to accompany her last words - I felt fearfully sensible of the great convenience that the Hulks were handy for me. I was clearly on my way there. I had begun by asking questions, and I was going to rob Mrs. Joe.

Expected results

  1. The user agent can be configured so that a single key can be used to search text for a character string.
  2. The user agent can be configured so that a single key can be used to search text again for a character string.

Source code

<h3 style="color: black; background: white; text-align: left; margin-top: 1.25em; margin-bottom: 0.5px; border: 0px; font-size: 130%;" class="test" style="color: black; background: white; text-align: left; margin-top: 1.25em; margin-bottom: 0.5px; border: 0px; font-size: 130%;" class="test">Paragraph 1</h3>
<p class="test" style="color: black; background: white; text-align: left; margin-top: 1.25em; margin-bottom: 0.5px; border: 0px; font-size: 130%;" class="test"> It was too much for Mrs. Joe, who immediately rose. "I tell you what, young fellow," said she, "I didn't bring you up by hand to badger people's lives out. It would be blame to me, and not praise, if I had. People are put in the Hulks because they murder, and because they rob, and forge, and do all sorts of bad; and they always begin by asking questions. Now, you get along to bed!" </p>
<h3 style="color: black; background: white; text-align: left; margin-top: 1.25em; margin-bottom: 0.5px; border: 0px; font-size: 130%;" class="test">Paragraph 2</h3>
<p class="test"> I was never allowed a candle to light me to bed, and, as I went upstairs in the dark, with my head tingling - from Mrs. Joe's thimble having played the tambourine upon it, to accompany her last words - I felt fearfully sensible of the great convenience that the Hulks were handy for me. I was clearly on my way there. I had begun by asking questions, and I was going to rob Mrs. Joe. </p>

References

  1. HTML 4.01 specification for Text

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/04/02 23:46:56 $ by $Author: jongund $