Bug 527884

Summary: Local Editor Settings popup needs accessibility work
Product: [ECD] Orion (Archived) Reporter: Carolyn MacLeod <Carolyn_MacLeod>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 Keywords: accessibility
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Carolyn MacLeod CLA 2017-11-28 15:10:03 EST
The Local Editor Settings (wrench) has a "DropDownMenu" that needs to be marked up for accessibility. Unfortunately, we can't give it role="menu", because in the accessibility world, the contract for a menu is that it has menu items, and those can be buttons or checkboxes or radios, but they can't be combos or links.

I think the most accessible role for this is a "popup dialog", which would be marked up by putting aria-popup="dialog" on the wrench button, and role="dialog" on the div with id="_navdropdown" that is created on line 445 of editorCommands.js. The aria-label on the _navdropdown would be "Local Editor Settings". Need to add down arrow support on the button to show the popup.

Not sure if this support is needed by other callers of new DropDownMenu(...).
See line 458 in editorCommands.js. If yes, then add a parameter to DropDownMenu initialization to set this up.