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 role="tablist" to .nav-pills in examples to improve accessibility #14070

Merged
merged 1 commit into from
Jul 8, 2014

Conversation

cvrebert
Copy link
Collaborator

@cvrebert cvrebert commented Jul 8, 2014

@cvrebert cvrebert added this to the v3.2.1 milestone Jul 8, 2014
cvrebert added a commit that referenced this pull request Jul 8, 2014
Add role="tablist" to .nav-pills in examples to improve accessibility
@cvrebert cvrebert merged commit c7c2a07 into master Jul 8, 2014
@cvrebert cvrebert deleted the pills-role-tablist-too branch July 8, 2014 02:30
@cvrebert cvrebert mentioned this pull request Jul 8, 2014
@mdo
Copy link
Member

mdo commented Jul 8, 2014

😻

@cvrebert
Copy link
Collaborator Author

cvrebert commented Jul 8, 2014

Refs #13554.

@patrickhlauke
Copy link
Member

Just a note that this addition may not actually be accurate (currently discussing this with PayPal folks, but in short: unless .nav-pills (and .nav-tabs for that matter) are actually used for a tabbed navigation (where content is shown/hidden in a classic tab, rather than used as a visual way to present a navigation to other pages), role="tablist" is wrong and against ARIA spec. See paypal/bootstrap-accessibility-plugin#59

@cvrebert
Copy link
Collaborator Author

cvrebert commented Nov 1, 2014

X-Ref: #14951

@patrickhlauke
Copy link
Member

and apologies...on re-reading the above i sound rather crabby. not intended.

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.

3 participants