-
Bug
-
Resolution: Fixed
-
Blocker
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MDL-71669-master -
-
0
-
Internationals - 4.0 Sprint 1, HQ Team International Sprint 2, HQ Team International Sprint 3
- Replication with NVDA: Use the Tab key until the focus is on the Atto editor. Then navigate through the buttons with Right Arrow. Once you are on the "Paragraph Style" button, press the Enter key to open the button menu. This "menu" is announced as a dialog box by NVDA. An inspection of the HTML code reveals that the <div> tag enclosing the "menu" has been assigned the role="dialog" attribute.
- Recommendation Summary: The component was designed as a button opening a drop-down menu, not a dialog box. Therefore, the role "dialog" is inappropriate and should be removed, as it is confusing for screen reader users. The presence of the submenu should be indicated by giving the button the aria-haspopup attribute, and the collapsed or expanded state of the button should be indicated with the aria-expanded attribute.
The principle of the recommendation is that if we keep the "dialog" role, this component should behave like a true modal dialog, with a properly labelled close button, and an inability to interact with background content. This is obviously not what the developers want.
- will help resolve
-
MDL-71666 User story: As an assistive technology user I want to easily navigate between the elements of a submenu So that I can use all the features the toolbar offers
- Closed