Test plan review for pattern: alert (3 tests)

Filter tests by assistive technology

Test 1: Trigger an alert in reading mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. sets focus on the 'Trigger Alert' button

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, exit Forms Mode to activate the Virtual Cursor by pressing Escape.
  2. With the reading cursor on the 'Trigger Alert' button, activate the button to trigger the alert. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
optionalRole 'alert' is conveyed
requiredText 'Hello' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. sets focus on the 'Trigger Alert' button

Tester Instructions

  1. Ensure NVDA is in browse mode by pressing Escape. Note: This command has no effect if NVDA is already in browse mode.
  2. With the reading cursor on the 'Trigger Alert' button, activate the button to trigger the alert. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
optionalRole 'alert' is conveyed
requiredText 'Hello' is conveyed

Test 2: Trigger an alert in interaction mode

JAWS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. sets focus on the 'Trigger Alert' button

Tester Instructions

  1. Verify the PC Cursor is active by pressing Alt+Delete. If it is not, turn off the Virtual Cursor by pressing Insert+Z.
  2. With focus on the 'Trigger Alert' button, activate the button to trigger the alert. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
optionalRole 'alert' is conveyed
requiredText 'Hello' is conveyed

NVDA

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. sets focus on the 'Trigger Alert' button

Tester Instructions

  1. If NVDA did not make the focus mode sound when the test page loaded, press Insert+Space to turn focus mode on.
  2. With focus on the 'Trigger Alert' button, activate the button to trigger the alert. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
optionalRole 'alert' is conveyed
requiredText 'Hello' is conveyed

Test 3: Trigger an alert

VoiceOver for macOS

Scripted Instructions

The following instructions are executed by a script in the test page to initialize the widget:
  1. sets focus on the 'Trigger Alert' button

Tester Instructions

  1. Toggle Quick Nav OFF by pressing the Left Arrow and Right Arrow keys at the same time.
  2. With focus on the 'Trigger Alert' button, activate the button to trigger the alert. using the following commands:
    • Control+Option+Space
    • Space
    • Enter

Assertions

PriorityAssertion
optionalRole 'alert' is conveyed
requiredText 'Hello' is conveyed