Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create updated tests for APG design pattern example: Toggle Button #396

Closed
IsaDC opened this issue Mar 10, 2021 · 0 comments · Fixed by #408
Closed

Create updated tests for APG design pattern example: Toggle Button #396

IsaDC opened this issue Mar 10, 2021 · 0 comments · Fixed by #408
Assignees

Comments

@IsaDC
Copy link
Contributor

IsaDC commented Mar 10, 2021

Below is the test plan for the toggle button example. Each test title is marked up as a level 4 heading to facilitate screen reader navigation.

Navigate forwards to a not pressed toggle button

  • Applies to: JAWS, NVDA, macOS VoiceOver
  • Modes: reading, interaction
  • Instructions:
    • Reading mode: With the reading cursor on the 'Navigate forwards from here' link, navigate to the 'Mute' button.
    • Interaction mode: With focus on the 'Navigate forwards from here' link, navigate to the 'Mute' button.
  • Setup script description: sets focus on a link before the button
Commands
AT Mode Commands
JAWS, NVDA reading
  • Down Arrow
  • B
  • F
  • Tab
JAWS, NVDA interaction Tab
macOS VoiceOver interaction
  • Control+Option+Right Arrow
  • Tab
  • Control+Option+Command+J
Assertions
Assertion Priority
Role 'button' is conveyed required
Name 'Mute' is conveyed required
State 'not pressed' is conveyed required
References

button, aria-pressed

Navigate backwards to a not pressed toggle button

  • Applies to: JAWS, NVDA, macOS VoiceOver
  • Modes: reading, interaction
  • Instructions:
    • Reading mode: With the reading cursor on the 'Navigate backwards from here' link, navigate to the 'Mute' button.
    • Interaction mode: With focus on the 'Navigate backwards from here' link, navigate to the 'Mute' button.
  • Setup script description: sets focus on a link after the button
Commands
AT Mode Commands
JAWS, NVDA reading
  • Up Arrow
  • Shift+B
  • Shift+F
  • Shift+Tab
JAWS, NVDA interaction Shift+Tab
macOS VoiceOver interaction
  • Control+Option+Left Arrow
  • Shift+Tab
  • Shift+Control+Option+Command+J
Assertions
Assertion Priority
Role 'button' is conveyed required
Name 'Mute' is conveyed required
State 'not pressed' is conveyed required
References

button, aria-pressed

Navigate forwards to a pressed toggle button

  • Applies to: JAWS, NVDA, macOS VoiceOver
  • Modes: reading, interaction
  • Instructions:
    • Reading mode: With the reading cursor on the 'Navigate forwards from here' link, navigate to the 'Mute' button.
    • Interaction mode: With focus on the 'Navigate forwards from here' link, navigate to the 'Mute' button.
  • Setup script description: sets focus on a link before the button, and sets the state of the button to 'pressed'
Commands
AT Mode Commands
JAWS, NVDA reading
  • Down Arrow
  • B
  • F
  • Tab
JAWS, NVDA interaction Tab
macOS VoiceOver interaction
  • Control+Option+Right Arrow
  • Tab
  • Control+Option+Command+J
Assertions
Assertion Priority
Role 'button' is conveyed required
Name 'Mute' is conveyed required
State 'pressed' is conveyed required
References

button, aria-pressed

Navigate backwards to a pressed toggle button

  • Applies to: JAWS, NVDA, macOS VoiceOver
  • Modes: reading, interaction
  • Instructions:
    • Reading mode: With the reading cursor on the 'Navigate backwards from here' link, navigate to the 'Mute' button.
    • Interaction mode: With focus on the 'Navigate backwards from here' link, navigate to the 'Mute' button.
  • Setup script description: sets focus on a link after the button, and sets the state of the button to 'pressed'
Commands
AT Mode Commands
JAWS, NVDA reading
  • Up Arrow
  • Shift+B
  • Shift+F
  • Shift+Tab
JAWS, NVDA interaction Shift+Tab
macOS VoiceOver interaction
  • Control+Option+Left Arrow
  • Shift+Tab
  • Shift+Control+Option+Command+J
Assertions
Assertion Priority
Role 'button' is conveyed required
Name 'Mute' is conveyed required
State 'pressed' is conveyed required
References

button, aria-pressed

Read information about a not pressed toggle button

  • Applies to: JAWS, NVDA, macOS VoiceOver
  • Modes: reading, interaction
  • Instructions:
    • Reading mode: With the reading cursor on the 'Mute' button, read information about the button.
    • Interaction mode: With focus on the 'Mute' button, read information about the button.
  • Setup script description: sets focus on the button
Commands
AT Mode Commands
JAWS, NVDA reading, interaction
  • Insert+Tab
  • Insert+Up
macOS VoiceOver interaction
  • Control+Option+F3
  • Control+option+F4
Assertions
Assertion Priority
Role 'button' is conveyed required
Name 'Mute' is conveyed required
State 'not pressed' is conveyed required
References

button, aria-pressed

Read information about a pressed toggle button

  • Applies to: JAWS, NVDA, macOS VoiceOver
  • Modes: reading, interaction
  • Instructions:
    • Reading mode: With the reading cursor on the 'Mute' button, read information about the button.
    • Interaction mode: With focus on the 'Mute' button, read information about the button.
  • Setup script description: sets focus on the button, and sets its state to 'pressed'
Commands
AT Mode Commands
JAWS, NVDA reading, interaction
  • Insert+Tab
  • Insert+Up
macOS VoiceOver interaction
  • Control+Option+F3
  • Control+option+F4
Assertions
Assertion Priority
Role 'button' is conveyed required
Name 'Mute' is conveyed required
State 'pressed' is conveyed required
References

button, aria-pressed

Operate a not pressed toggle button

  • Applies to: JAWS, NVDA, macOS VoiceOver
  • Modes: reading, interaction
  • Instructions:
    • Reading mode: With the reading cursor on the 'Mute' button, activate the button.
    • Interaction mode: With focus on the 'Mute' button, activate the button.
  • Setup script description: sets focus on the button
Commands
AT Mode Commands
JAWS, NVDA reading, interaction
  • Space
  • Enter
macOS VoiceOver interaction
  • Control+Option+Space
  • Space
  • Enter
Assertions
Assertion Priority
Change in state, to 'pressed', is conveyed required
References

button, aria-pressed

Operate a pressed toggle button

  • Applies to: JAWS, NVDA, macOS VoiceOver
  • Modes: reading, interaction
  • Instructions:
    • Reading mode: With the reading cursor on the 'Mute' button, activate the button.
    • Interaction mode: With focus on the 'Mute' button, activate the button.
  • Setup script description: sets focus on the button, and sets its state to 'pressed'
Commands
AT Mode Commands
JAWS, NVDA interaction
  • Space
  • Enter
macOS VoiceOver interaction
  • Control+Option+Space
  • Space
  • Enter
Assertions
Assertion Priority
Change in state, to 'not pressed', is conveyed required
References

button, aria-pressed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant