0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/less
adamjacobbecker a8d95d4721 Improve accessibility (Section 508, WCAG)
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 (twbs#3572)
- Tooltips (twbs#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.
2013-08-06 21:58:09 -07:00
..
accordion.less Improved and followed pattern suggestions 2013-07-19 23:14:13 +05:00
alerts.less Merge branch '3.0.0-wip' of https://github.com/saas786/bootstrap into saas786-3.0.0-wip 2013-08-05 16:03:10 -07:00
badges.less Merge branch '3.0.0-wip' of https://github.com/saas786/bootstrap into saas786-3.0.0-wip 2013-08-05 16:03:10 -07:00
bootstrap.less Input groups overhaul 2013-07-27 18:56:31 -07:00
breadcrumbs.less remove useless display:inline-block 2013-07-21 19:44:30 +08:00
button-groups.less fixes #8647: remove focus outline on :focus of buttons in button groups 2013-08-05 16:16:58 -07:00
buttons.less Merge branch '3.0.0-wip' of https://github.com/saas786/bootstrap into saas786-3.0.0-wip 2013-08-05 16:03:10 -07:00
carousel.less update use of mixins and add bg-colors where necessary 2013-08-06 18:05:37 -07:00
close.less Merge branch '3.0.0-wip' of https://github.com/saas786/bootstrap into saas786-3.0.0-wip 2013-08-05 16:03:10 -07:00
code.less Update code vars 2013-07-23 23:13:15 -07:00
component-animations.less change how collapse works - collapse, collapsing, and in 2013-07-26 20:34:39 -07:00
dropdowns.less update use of mixins and add bg-colors where necessary 2013-08-06 18:05:37 -07:00
forms.less Fixes #8150: add .static-form-control for vertical alignment of static form text 2013-08-05 12:17:09 -07:00
grid.less Scope tablet classes to tablets range only 2013-08-05 20:55:30 -07:00
input-groups.less Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip 2013-08-05 16:15:43 -07:00
jumbotron.less refactor {badges,jumbotron,media,popover,print}.less (mostly nesting) 2013-07-07 19:46:20 -07:00
labels.less Remove dupe hover background color 2013-08-05 15:35:16 -07:00
list-group.less Merge pull request #8731 from nrw/patch-1 2013-08-06 15:41:50 -07:00
media.less refactor {badges,jumbotron,media,popover,print}.less (mostly nesting) 2013-07-07 19:46:20 -07:00
mixins.less fixes #8959: only negative indent rows within .container (prevents horizontal scroll on full-width pages) 2013-08-06 21:11:16 -07:00
modals.less Fixes #8723: allow modals to not need the .fade class /cc @fat 2013-08-04 22:30:09 -07:00
navbar.less Fixes #8749: prevent navbar nav from overlapping navbar toggle 2013-08-06 17:28:02 -07:00
navs.less Merge branch 'pullright' of https://github.com/liuyl/bootstrap into liuyl-pullright 2013-08-05 12:20:52 -07:00
normalize.less Fixes #6657: Upgrade Normalize to 2.1.0 2013-02-01 21:49:54 -08:00
pager.less move things around :) 2013-07-26 17:04:15 +05:00
pagination.less Greater standardization of sizing terminology 2013-08-03 21:39:57 -07:00
panels.less Fixes #9061: Panel titles should inherit color when linked 2013-08-04 23:44:02 -07:00
popovers.less move things around :) 2013-07-26 17:04:15 +05:00
print.less Fixes #8278: fix on print 2013-07-19 16:49:38 -07:00
progress-bars.less Clean up mixins, fix #9100 (no ms-keyframes) 2013-08-05 08:11:13 -07:00
responsive-utilities.less Fix responsive utilities for table elements 2013-07-01 21:13:57 +02:00
scaffolding.less Improve accessibility (Section 508, WCAG) 2013-08-06 21:58:09 -07:00
tables.less fixes #9140: use correct var in tables 2013-08-06 11:40:02 -07:00
thumbnails.less fixes #8345: use inline-block on .img-responsive 2013-07-01 19:42:43 -07:00
tooltip.less Fixes #9145: Fix tooltip opacity 2013-08-06 11:18:53 -07:00
type.less Merge branch 'pullright' of https://github.com/liuyl/bootstrap into liuyl-pullright 2013-08-05 12:20:52 -07:00
utilities.less make pull-right !important 2013-07-28 14:05:47 +08:00
variables.less Fixes #9145: Fix tooltip opacity 2013-08-06 11:18:53 -07:00
wells.less Greater standardization of sizing terminology 2013-08-03 21:39:57 -07:00