1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
@bender-tags: 4.19.0, 2444, feature, button
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, link
**Note** This test is intended for screen reader.
1. Move focus to the button in the editor's toolbar.
**Expected** Screen reader announces the button as togglable and currently switched off/unpressed.
1. Activate the button via keyboard.
1. Move the focus back to the button.
**Expected** Screen reader announces the button as togglable and currently switched on/pressed.
1. Activate the button via the keyboard.
1. Move the focus back to the button.
**Expected** Screen reader announces the button as togglable and currently switched off/unpressed.
## Sample screen reader outputs
### VoiceOver on macOS
* off: "<button name>, toggle button"
* on: "<button name>, toggle button, selected"
### NVDA
* off: "<button name>, toggle button, not pressed"
* on: "<button name>, toggle button, pressed"
### JAWS
* off: "<button name>, toggle button"
* on: "<button name>, toggle button, pressed"
|