Test plan review for pattern: toggle-button (24 tests)

Filter tests by assistive technology

Test 1: Navigate forwards to a not pressed toggle button 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 button

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Navigate forwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Down Arrow
    • B
    • F
    • Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' 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 button

Tester Instructions

  1. Insure 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 'Mute' button. using the following commands:
    • Down Arrow
    • B
    • F
    • Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' is conveyed

Test 2: Navigate backwards to a not pressed toggle button 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 button

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Navigate backwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Up Arrow
    • Shift+B
    • Shift+F
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' 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 button

Tester Instructions

  1. Insure 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 'Mute' button. using the following commands:
    • Up Arrow
    • Shift+B
    • Shift+F
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' is conveyed

Test 3: Navigate forwards to a not pressed toggle button 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 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 'Navigate forwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' 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 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 'Navigate forwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' is conveyed

Test 4: Navigate backwards to a not pressed toggle button 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 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 'Navigate backwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' 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 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 'Navigate backwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' is conveyed

Test 5: Navigate forwards to a not pressed toggle button

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

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' is conveyed

Test 6: Navigate backwards to a not pressed toggle button

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

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' is conveyed

Test 7: Navigate forwards to a pressed toggle button 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 button

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Navigate forwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Down Arrow
    • B
    • F
    • Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' 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 button

Tester Instructions

  1. Insure 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 'Mute' button. using the following commands:
    • Down Arrow
    • B
    • F
    • Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' is conveyed

Test 8: Navigate backwards to a pressed toggle button 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 button

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Navigate backwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Up Arrow
    • Shift+B
    • Shift+F
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' 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 button

Tester Instructions

  1. Insure 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 'Mute' button. using the following commands:
    • Up Arrow
    • Shift+B
    • Shift+F
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' is conveyed

Test 9: Navigate forwards to a pressed toggle button 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 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 'Navigate forwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' 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 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 'Navigate forwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' is conveyed

Test 10: Navigate backwards to a pressed toggle button 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 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 'Navigate backwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' 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 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 'Navigate backwards from here' link, navigate to the 'Mute' button. using the following commands:
    • Shift+Tab

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' is conveyed

Test 11: Navigate forwards to a pressed toggle button

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

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' is conveyed

Test 12: Navigate backwards to a pressed toggle button

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

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' is conveyed

Test 13: Read information about a not pressed toggle button 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 button

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Mute' button, read information about the button. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' 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 button

Tester Instructions

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

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' is conveyed

Test 14: Read information about a not pressed toggle button 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 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 'Mute' button, read information about the button. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' 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 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 'Mute' button, read information about the button. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' is conveyed

Test 15: Read information about a not pressed toggle button

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

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'not pressed' is conveyed

Test 16: Read information about a pressed toggle button 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 button, and sets its state to 'pressed'

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Mute' button, read information about the button. using the following commands:
    • Insert+Tab
    • Insert+Up

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' 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 button, and sets its state to 'pressed'

Tester Instructions

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

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' is conveyed

Test 17: Read information about a pressed toggle button 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 button, and sets its state to 'pressed'

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

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' 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 button, and sets its state to 'pressed'

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

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' is conveyed

Test 18: Read information about a pressed toggle button

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 button, and sets its state to 'pressed'

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

Assertions

PriorityAssertion
requiredRole 'button' is conveyed
requiredName 'Mute' is conveyed
requiredState 'pressed' is conveyed

Test 19: Operate a not pressed toggle button 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 button

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Mute' button, activate the button. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'pressed', 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 button

Tester Instructions

  1. Insure 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 'Mute' button, activate the button. using the following commands:
    • Space
    • Enter

Assertions

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

Test 20: Operate a not pressed toggle button 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 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 'Mute' button, activate the button. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'pressed', 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 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 'Mute' button, activate the button. using the following commands:
    • Space
    • Enter

Assertions

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

Test 21: Operate a not pressed toggle button

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 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 'Mute' button, activate the button. using the following commands:
    • Control+Option+Space
    • Space
    • Enter

Assertions

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

Test 22: Operate a pressed toggle button 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 button, and sets its state to 'pressed'

Tester Instructions

  1. Verify the Virtual Cursor is active by pressing Alt+Delete. If it is not, turn on the Virtual Cursor by pressing Insert+Z.
  2. With the reading cursor on the 'Mute' button, activate the button. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'not pressed', 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 button, and sets its state to 'pressed'

Tester Instructions

  1. Insure 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 'Mute' button, activate the button. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'not pressed', is conveyed

Test 23: Operate a pressed toggle button 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 button, and sets its state to 'pressed'

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 'Mute' button, activate the button. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'not pressed', 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 button, and sets its state to 'pressed'

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 'Mute' button, activate the button. using the following commands:
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'not pressed', is conveyed

Test 24: Operate a pressed toggle button

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 button, and sets its state to 'pressed'

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 'Mute' button, activate the button. using the following commands:
    • Control+Option+Space
    • Space
    • Enter

Assertions

PriorityAssertion
requiredChange in state, to 'not pressed', is conveyed