W3CWeb Accessibility Initiative Home

View author bindings for accesskey

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.2 Current author input configuration (Priority 2 )
Provision 1 : Provide a centralized view of the current author-specified input configuration.

Test 1 :

Procedure

  1. Query the user agent for a centralized view of the accesskeys associated with each of the test form controls and test links

Run test

Test form for form control elements containing the accesskey attribute
Test links containing the accesskey attribute
Test link 1 (accesskey "E")
Test link 2 (accesskey "F")
Test link 3 (accesskey "G")
Test link 4 (accesskey "H")

Expected results

  1. The user agent provides a centralized view or listing of the particualr accesskeys associated with the test form controls and test links.
  2. These control/binding and link/binding pairs should correspond to the label of each element in the test area (i.e. "Test link 1" and accesskey "E").

Source code

<form action="../action/return.html" method="post" title="Test Form 1" enctype="application/x-www-form-urlencoded" border="1" cellpadding="5" summary="Layout table for test example links">
  <table border="1" cellpadding="5" summary="Layout table for test form number 1">
    <tr rowspan="1" colspan="1">
      <th rowspan="1" colspan="1">Test form for form control elements containing the accesskey attribute</th>
    </tr>
    <tr>
      <td rowspan="1" colspan="1">
        <label>
          <input type="text" name="text1" accesskey="A"></input>
        </label>
      </td>
    </tr>
    <tr>
      <td rowspan="1" colspan="1">
        <label>
          <textarea rows="1" cols="20" name="textarea1" accesskey="B"></textarea>
        </label>
      </td>
    </tr>
    <tr>
      <td rowspan="1" colspan="1">
        <label>
          <input type="reset" name="reset1" accesskey="C" value="Reset"></input>
        </label>
      </td>
    </tr>
    <tr>
      <td rowspan="1" colspan="1">
        <label>
          <input type="submit" name="submit1" accesskey="D" value="Submit"></input>
        </label>
      </td>
    </tr>
  </table>
  <tr>
    <td rowspan="1" colspan="1">
      <a href="../action/return.html" accesskey="E" shape="rect">Test link 1</a>
    </td>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">
      <a href="../action/return.html" accesskey="F" shape="rect">Test link 2</a>
    </td>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">
      <a href="../action/return.html" accesskey="G" shape="rect">Test link 3</a>
    </td>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">
      <a href="../action/return.html" accesskey="H" shape="rect">Test link 4</a>
    </td>
  </tr>
</form>
<table border="1" cellpadding="5" summary="Layout table for test example links">
  <tr>
    <th rowspan="1" colspan="1">Test links containing the accesskey attribute</th>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">
      <a href="../action/return.html" accesskey="E" shape="rect">Test link 1</a>
    </td>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">
      <a href="../action/return.html" accesskey="F" shape="rect">Test link 2</a>
    </td>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">
      <a href="../action/return.html" accesskey="G" shape="rect">Test link 3</a>
    </td>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">
      <a href="../action/return.html" accesskey="H" shape="rect">Test link 4</a>
    </td>
  </tr>
</table>

References

  1. HTML 4.01 specification for ACCESSKEY

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:55 $ by $Author: jongund $