Alert Example Test Plan (1 test)

Filter tests by covered assistive technology

Supporting Documentation

Test 1: Trigger an alert

JAWS

Instructions

  1. Configure JAWS with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that sets focus on the 'Trigger Alert' button.
  3. Starting at the 'Trigger Alert' button, activate the button to trigger the alert. Do this with each of the following commands or command sequences. If any settings are specified in parentheses, ensure the settings are active before executing the command or command sequence.
    • Space (virtual cursor active)
    • Enter (virtual cursor active)
    • Space (PC cursor active)
    • Enter (PC cursor active)

To perform a task with virtual cursor active:

  1. Press Alt+Delete to determine which cursor is active.
  2. If the PC cursor is active, press Escape to activate the virtual cursor.

To perform a task with PC cursor active:

  1. Press Alt+Delete to determine which cursor is active.
  2. If the virtual cursor is active, press Insert+z to disable the virtual cursor.

Space (virtual cursor active): 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed

Enter (virtual cursor active): 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed

Space (PC cursor active): 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed

Enter (PC cursor active): 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed

NVDA

Instructions

  1. Configure NVDA with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that sets focus on the 'Trigger Alert' button.
  3. Starting at the 'Trigger Alert' button, activate the button to trigger the alert. Do this with each of the following commands or command sequences. If any settings are specified in parentheses, ensure the settings are active before executing the command or command sequence.
    • Space (browse mode on)
    • Enter (browse mode on)
    • Space (focus mode on)
    • Enter (focus mode on)

To perform a task with browse mode on:

  1. Press Insert+Space.
  2. If NVDA made the focus mode sound, press Insert+Space again to turn browse mode back on.

To perform a task with focus mode on:

  1. Press Insert+Space.
  2. If NVDA made the browse mode sound, press Insert+Space again to turn focus mode back on.

Space (browse mode on): 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed

Enter (browse mode on): 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed

Space (focus mode on): 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed

Enter (focus mode on): 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed

VoiceOver for macOS

Instructions

  1. Configure VoiceOver with default settings. For help, read Configuring Screen Readers for Testing.
  2. Activate the "Open test page" button, which opens the example to test in a new window and runs a script that sets focus on the 'Trigger Alert' button.
  3. Starting at the 'Trigger Alert' button, activate the button to trigger the alert. Do this with each of the following commands or command sequences.
    • Control+Option+Space
    • Space
    • Enter

Control+Option+Space: 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed

Space: 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed

Enter: 1 MUST, 0 SHOULD, AND 1 MAY assertions

Priority Assertion Phrase Assertion Statement
MAY convey role 'alert' Role 'alert' is conveyed
MUST convey text 'Hello' Text 'Hello' is conveyed