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

Add dropdown menu accessibility callout and fix <a> example #22461

Merged
merged 1 commit into from
Apr 18, 2017
Merged

Add dropdown menu accessibility callout and fix <a> example #22461

merged 1 commit into from
Apr 18, 2017

Conversation

patrickhlauke
Copy link
Member

As the question often comes up about why Bootstrap does not do "true"
ARIA menus (with their role="menu" etc), add an admittedly lengthy
note (tl;dr because BS is generic, and ARIA menus are specific and quite
limiting).

Additionally, fixes up the <a> example for dropdown trigger, with the
missing role="button" and neutering the href (which would be useless
anyway since BS overrides the link-like nature of the <a> so it could
never be triggered/followed anyway)

As the question often comes up about why Bootstrap does not do "true"
ARIA menus (with their `role="menu"` etc), add an admittedly lengthy
note (tl;dr because BS is generic, and ARIA menus are specific and quite
limiting).

Additionally, fixes up the `<a>` example for dropdown trigger, with the
missing `role="button"` and neutering the `href` (which would be useless
anyway since BS overrides the link-like nature of the `<a>` so it could
never be triggered/followed anyway)
@patrickhlauke patrickhlauke removed the request for review from mdo April 18, 2017 08:32
@patrickhlauke
Copy link
Member Author

originally had @mdo set to review, but i think this is fairly non-controversial (though yes, a tad long). going to merge...

@patrickhlauke patrickhlauke merged commit 9a3e002 into twbs:v4-dev Apr 18, 2017
@mdo mdo mentioned this pull request Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant