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