File: menubuttonscreenreader.md

package info (click to toggle)
ckeditor 4.22.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 290,692 kB
  • sloc: javascript: 237,176; sh: 202; makefile: 64; python: 37; php: 15; xml: 5
file content (30 lines) | stat: -rw-r--r-- 797 bytes parent folder | download | duplicates (2)
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
@bender-tags: 4.19.1, 5144, bug, button
@bender-ui: collapsed

**Note** This test is intended for screen reader.

1. Select some text in the editor.
1. Move focus to the first button in the editor's toolbar.

	**Expected** Screen reader announces the button and optionally informs it's collapsed.
1. Apply color or language to the selected text.
1. Move the focus back to the button.

	**Expected** Screen reader announces the button and optionally informs it's collapsed.

	**Unexpected** Screen reader announces the button as expanded.
1. Repeat it for the other button.

## Sample screen reader outputs

### VoiceOver on macOS

* "<button name>, menu pop-up collapsed, button"

### NVDA

* "<button name>, button, collapsed, submenu"

### JAWS

* "<button name>, button menu"