- Important note: This Wiki page is edited by participants of the User Agent Accessibility Guidelines working group (UAWG). It does not necessarily represent consensus and it may have incorrect information or information that is not supported by other Working Group participants, WAI, or W3C. It may also have some very useful information.

1.3.1

From WAI UA Wiki
Jump to: navigation, search

Return to Tests_for_CR

Status

written 20 October 2014

Author

Jeanne Spellman

Success Criteria

1.3.1 Highlighted Items: The user can specify that the following classes be highlighted so that each is uniquely distinguished: (Level A)

  • Selection
  • Active keyboard focus (indicated by focus cursors and/or text cursors)
  • Recognized enabled input elements (distinguished from disabled elements)
  • Recently visited links
  • Found search results


Tests

All of the following tests must pass:

Test Procedure 1 (Selection)

  1. Open a sample text document.
    [Sample HTML test document]
  2. Using the appropriate technique for the platform (drag, swipe, etc) select a section of text.
  3. Check that the selected text is highlighted.
    • Note the appearance (for Test 6)

Expected Results 1

  • Check #3 is true

Test Procedure 2 (Keyboard Focus)

  1. Open a sample text document.
    [Sample HTML test document]
  2. Using the appropriate technique for the platform (tab, touch, etc) move the keyboard focus.
  3. Check that a cursor, soft keyboard on mobile, or other indicator shows the location of the keyboard focus.
    • Note the appearance (for Test 6)

Expected Results 2

  • Check #3 is true

Test Procedure 3 (Enabled Elements)

  1. Open a sample text document containing potentially enabled elements (e.g. text input, radio buttons, checkboxes, buttons, etc.) in both enabled and disabled states.
    [Sample HTML test document]
  2. Using the appropriate technique for the platform (click, tab, touch, etc.), select an enabled element.
  3. Check that for each potentially enabled element type, the disabled elements appear visually distinct from the enabled elements.
    • Note the appearance (for Test 6)

Expected Results 3

  • Check #3 is true

Test Procedure 4 (Visited Links)

  1. Open a text document with links that have not previously been visited. Many browsers will allow you to reset the history so all links are unvisited.
  2. Navigate a link to leave the document being tested.
  3. Navigate back to the original text document
  4. Check that the link has changed colors or is distinguished from other unvisited links.
    • Note the appearance (for Test 6)

Expected Results 4

  • Check #4 is true

Test Procedure 5 (Found search results)

  1. Open a sample text document
    [Sample HTML test document]
  2. Using the appropriate technique for the platform, create a search for a known term.
  3. Check that the found term is highlighted in the document text.
    • Note the appearance (for Test 6)

Expected Results 5

  • Check #4 is true

Test Procedure 6 (Uniqueness)

  1. Check that the noted visual appearance of the different types of highlighting are different from each other (or that they are the same by default but can be changed to be different).

Expected Results 6

  • Check #1 is true

Return to Tests_for_CR