2013-03-28 04:08:14 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<!-- Meta, title, CSS, favicons, etc. -->
|
|
|
|
{% include header.html %}
|
|
|
|
<!-- Place anything custom after this. -->
|
|
|
|
</head>
|
|
|
|
<body class="bs-docs-home">
|
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-07 00:25:36 -04:00
|
|
|
<a class="sr-only" href="#content">Skip navigation</a>
|
2013-03-28 04:08:14 -04:00
|
|
|
|
2013-05-09 00:56:08 -04:00
|
|
|
<!-- Docs master nav -->
|
|
|
|
{% include nav-main.html %}
|
|
|
|
|
2013-07-26 04:43:43 -04:00
|
|
|
<!-- Page content of course! -->
|
|
|
|
{{ content }}
|
|
|
|
|
2013-07-25 23:56:44 -04:00
|
|
|
<!-- Callout for the old docs link -->
|
|
|
|
{% include old-bs-docs.html %}
|
|
|
|
|
2013-08-11 22:26:40 -04:00
|
|
|
<footer class="container" role="contentinfo">
|
2013-07-26 04:43:43 -04:00
|
|
|
{% include social-buttons.html %}
|
|
|
|
|
|
|
|
<ul class="bs-masthead-links">
|
|
|
|
<li>
|
2013-07-26 22:05:43 -04:00
|
|
|
<a href="{{ site.repo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a>
|
2013-07-26 04:43:43 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-08-16 14:03:28 -04:00
|
|
|
<a href="{{ page.base_url }}getting-started#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
|
2013-07-26 04:43:43 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-07-26 22:24:59 -04:00
|
|
|
<a href="{{ site.glyphicons }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a>
|
2013-07-26 04:43:43 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-07-26 22:24:59 -04:00
|
|
|
<a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Bootstrap Expo</a>
|
2013-07-26 04:43:43 -04:00
|
|
|
</li>
|
|
|
|
</ul>
|
2013-08-11 22:26:40 -04:00
|
|
|
</footer>
|
2013-03-28 04:08:14 -04:00
|
|
|
|
|
|
|
<!-- JS and analytics only. -->
|
|
|
|
{% include footer.html %}
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|