Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui-shell): remove role="menuitem" from Switcher li's #5525

Merged
merged 10 commits into from
Mar 5, 2020
Merged

fix(ui-shell): remove role="menuitem" from Switcher li's #5525

merged 10 commits into from
Mar 5, 2020

Conversation

dakahn
Copy link
Contributor

@dakahn dakahn commented Mar 4, 2020

Closes #5524

Removes the the role="menuitem" attribute on the menutitems in the site switcher. They were causing DAP errors since they weren't contained in a menu.

2020-03-03 19_49_25-Storybook

Testing

Open the UI Shell header with base actions and switcher and check to make sure the DAP errors are gone. 👍

@dakahn dakahn requested a review from a team as a code owner March 4, 2020 02:20
@ghost ghost requested review from emyarod and joshblack March 4, 2020 02:20
@netlify
Copy link

netlify bot commented Mar 4, 2020

Deploy preview for carbon-components-react ready!

Built with commit f6ed694

https://deploy-preview-5525--carbon-components-react.netlify.com

@netlify
Copy link

netlify bot commented Mar 4, 2020

Deploy preview for carbon-elements ready!

Built with commit f6ed694

https://deploy-preview-5525--carbon-elements.netlify.com

Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@dakahn dakahn merged commit 58f262b into carbon-design-system:master Mar 5, 2020
joshblack added a commit to joshblack/carbon that referenced this pull request Mar 10, 2020
…gn-system#5525)

* fix(Dropdown): rely on list-box height closes carbon-design-system#4916

* fix(switcher): remove role=menuitems

Co-authored-by: Josh Black <[email protected]>
Co-authored-by: TJ Egan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Site switcher menu items have incorrect role causing DAP errors
5 participants