Test plan review for pattern: switch (24 tests)

Filter tests by assistive technology

Test 1: Navigate forwards to a switch in the off state 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 a link before the switch

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 'Navigate forwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • X
    • Down Arrow
    • Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' 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 a link before the switch

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 'Navigate forwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • B
    • X
    • Down Arrow
    • Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' is conveyed

Test 2: Navigate forwards to a switch in the off state 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 a link before the switch

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 'Navigate forwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' 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 a link before the switch

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 'Navigate forwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' is conveyed

Test 3: Navigate forwards to a switch in the off state

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 a link before the switch

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 'Navigate forwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Control+Option+Right
    • Tab
    • Control+Option+Command+J

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' is conveyed

Test 4: Navigate backwards to a switch in the off state 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 a link after the switch

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 'Navigate backwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Shift+X
    • Up Arrow
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' 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 a link after the switch

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 'Navigate backwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Shift+B
    • Shift+X
    • Up Arrow
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' is conveyed

Test 5: Navigate backwards to a switch in the off state 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 a link after the switch

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 'Navigate backwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' 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 a link after the switch

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 'Navigate backwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' is conveyed

Test 6: Navigate backwards to a switch in the off state

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 a link after the switch

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 'Navigate backwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Ctrl+Option+Left
    • Shift+Tab
    • Shift+Control+Option+Command+J

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' is conveyed

Test 7: Navigate forwards to a switch in the on state 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 a link before the switch, and sets the state of the switch to 'on'

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 'Navigate forwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • X
    • Down Arrow
    • Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' 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 a link before the switch, and sets the state of the switch to 'on'

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 'Navigate forwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • B
    • X
    • Down Arrow
    • Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' is conveyed

Test 8: Navigate forwards to a switch in the on state 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 a link before the switch, and sets the state of the switch to 'on'

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 'Navigate forwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' 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 a link before the switch, and sets the state of the switch to 'on'

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 'Navigate forwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' is conveyed

Test 9: Navigate forwards to a switch in the on state

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 a link before the switch, and sets the state of the switch to 'on'

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 'Navigate forwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Control+Option+Right
    • Tab
    • Control+Option+Command+J

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' is conveyed

Test 10: Navigate backwards to a switch in the on state 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 a link after the switch, and sets the switch state to 'on'

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 'Navigate backwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Shift+X
    • Up Arrow
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' 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 a link after the switch, and sets the switch state to 'on'

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 'Navigate backwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Shift+B
    • Shift+X
    • Up Arrow
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' is conveyed

Test 11: Navigate backwards to a switch in the on state 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 a link after the switch, and sets the switch state to 'on'

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 'Navigate backwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' 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 a link after the switch, and sets the switch state to 'on'

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 'Navigate backwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' is conveyed

Test 12: Navigate backwards to a switch in the on state

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 a link after the switch, and sets the switch state to 'on'

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 'Navigate backwards from here' link, navigate to the 'Notifications' switch. using the following commands:
    • Ctrl+Option+Left
    • Shift+Tab
    • Shift+Control+Option+Command+J

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' is conveyed

Test 13: Read information about a switch in the off state 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 'Notifications' switch

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 'Notifications' switch, read information about the switch. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' 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 'Notifications' switch

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 'Notifications' switch, read information about the switch. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' is conveyed

Test 14: Read information about a switch in the off state 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 'Notifications' switch

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 'Notifications' switch, read information about the switch. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' 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 'Notifications' switch

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 'Notifications' switch, read information about the switch. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' is conveyed

Test 15: Read information about a switch in the off state

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 'Notifications' switch

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 'Notifications' switch, read information about the switch. using the following commands:
    • Control+Option+F3
    • Control+Option+F4

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'off' is conveyed

Test 16: Read information about a switch in the on state 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 'Notifications' switch, and sets its state to 'on'

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 'Notifications' switch, read information about the switch. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' 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 'Notifications' switch, and sets its state to 'on'

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 'Notifications' switch, read information about the switch. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' is conveyed

Test 17: Read information about a switch in the on state 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 'Notifications' switch, and sets its state to 'on'

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 'Notifications' switch, read information about the switch. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' 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 'Notifications' switch, and sets its state to 'on'

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 'Notifications' switch, read information about the switch. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' is conveyed

Test 18: Read information about a switch in the on state

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 'Notifications' switch, and sets its state to 'on'

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 'Notifications' switch, read information about the switch. using the following commands:
    • Control+Option+F3
    • Control+Option+F4

Assertions

PriorityAssertion
requiredRole 'switch' is conveyed
requiredName 'Notifications' is conveyed
requiredState 'on' is conveyed

Test 19: Operate a switch in the off state 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 'Notifications' switch

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 'Notifications' switch, change its state to 'on'. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'on', 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 'Notifications' switch

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 'Notifications' switch, change its state to 'on'. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'on', is conveyed

Test 20: Operate a switch in the off state 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 'Notifications' switch

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 'Notifications' switch, change its state to 'on'. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'on', 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 'Notifications' switch

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 'Notifications' switch, change its state to 'on'. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'on', is conveyed

Test 21: Operate a switch in the off state

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 'Notifications' switch

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 'Notifications' switch, change its state to 'on'. using the following commands:
    • Control+Option+Space
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'on', is conveyed

Test 22: Operate a switch in the on state 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 'Notifications' switch, and sets its state to 'on'

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 'Notifications' switch, change its state to 'off'. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'off', 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 'Notifications' switch, and sets its state to 'on'

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 'Notifications' switch, change its state to 'off'. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'off', is conveyed

Test 23: Operate a switch in the on state 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 'Notifications' switch, and sets its state to 'on'

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 'Notifications' switch, change its state to 'off'. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'off', 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 'Notifications' switch, and sets its state to 'on'

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 'Notifications' switch, change its state to 'off'. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'off', is conveyed

Test 24: Operate a switch in the on state

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 'Notifications' switch, and sets its state to 'on'

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 'Notifications' switch, change its state to 'off'. using the following commands:
    • Control+Option+Space
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'off', is conveyed