2013-03-28 04:08:14 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<!-- Meta, title, CSS, favicons, etc. -->
|
|
|
|
{% include header.html %}
|
|
|
|
</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-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">
|
2013-08-19 00:15:07 -04:00
|
|
|
<li class="current-version">
|
2013-08-24 01:38:51 -04:00
|
|
|
Currently v{{ site.current_version }}
|
2013-08-19 00:15:07 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ page.base_url }}2.3.2/">Bootstrap 2.3.2 docs</a>
|
|
|
|
</li>
|
2013-07-26 04:43:43 -04:00
|
|
|
<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-18 15:06:56 -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-08-18 05:11:57 -04:00
|
|
|
<a href="{{ page.base_url }}components/#glyphicons" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a>
|
2013-07-26 04:43:43 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-08-16 17:04:11 -04:00
|
|
|
<a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Expo</a>
|
2013-07-26 04:43:43 -04:00
|
|
|
</li>
|
2013-08-23 02:18:45 -04:00
|
|
|
<li>
|
|
|
|
<a href="{{ site.blog }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Blog']);">Blog</a>
|
|
|
|
</li>
|
2013-07-26 04:43:43 -04:00
|
|
|
</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>
|