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

"squash" & rebasing of #9137 #9186

Merged
merged 1 commit into from Aug 7, 2013
Merged

"squash" & rebasing of #9137 #9186

merged 1 commit into from Aug 7, 2013

Conversation

cvrebert
Copy link
Collaborator

@cvrebert cvrebert commented Aug 7, 2013

My attempt at "squashing" (and I'm using air quotes here intentionally) #9137 into a single commit and rebasing against 3.0.0-wip HEAD.
Seems successful AFAICT.
/cc @adamjacobbecker et al. for QC

This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.

What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.

What *wasn't* done
- Contrast issues (#3572)
- Tooltips (#8469)
- Documentation re: usage of icons, since they now live in a separate repo

Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
@cvrebert
Copy link
Collaborator Author

cvrebert commented Aug 7, 2013

Main conflict was in the modals example. I think I sorted it out okay.

@mdo mdo merged commit a8d95d4 into 3.0.0-wip Aug 7, 2013
@mdo mdo deleted the accessibility branch August 7, 2013 07:36
@ajb
Copy link
Contributor

ajb commented Aug 7, 2013

Thanks @cvrebert (and @mdo) -- I had only rebased, not squashed. This looks great.

@brennanmceachran
Copy link

This is awesome! Thanks guys!

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.

None yet

5 participants