Skip to content

ContextualMenu: Remove the list inside the menu and move aria labeling to the correct element#3838

Merged
jspurlin merged 2 commits into
microsoft:masterfrom
jspurlin:jspurlin/ContextualMenuRemoveListness
Jan 30, 2018
Merged

ContextualMenu: Remove the list inside the menu and move aria labeling to the correct element#3838
jspurlin merged 2 commits into
microsoft:masterfrom
jspurlin:jspurlin/ContextualMenuRemoveListness

Conversation

@jspurlin

Copy link
Copy Markdown
Contributor

Pull request checklist

  • Include a change request file using $ npm run change

Description of changes

The child of the menu was incorrectly showing up in the UIA tree as a list. Upon investigating, the list items of the list had already been changed to role=presentation, but the ul list element had not yet been updated.

This change marks role=presentation on the list (ul) element and moves the aria-label/labelledby to the correct role=menu element

Focus areas to test

Verified that the menu is no longer reporting as a list and the labelling is hooked up to the correct element

@jspurlin jspurlin requested a review from christiango January 30, 2018 18:13
@jspurlin jspurlin requested a review from joschect as a code owner January 30, 2018 18:13
@jspurlin jspurlin merged commit b6a301e into microsoft:master Jan 30, 2018
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants