Files
shoelace/source/docs
Scott O'Hara 3f80ada6a2 Update documentation accessibility (#70)
* revise icon documentation

Screen readers would completley pass over the listing if icons as `<i class=“fa fa-*”></i>` largely means nothing to a screen reader.

Updated the example icons to have a `role=“img”` and `aria-label` to announce what type of icon was being represented.

In the `button` examples, added an `aria-hidden=“true”` attribute, so that the icons were not interpreted by screen readers.

Revised the wording of some parts of the documentation to make wording more concise.

* template accessibility updates

* remove “logo” from alt value.  While the image is of the shoelace logo, it also serves as the heading to the website.  So hearing “Shoelace logo” as the `h1` of the document is very strange.

* move the `main` element to a different location.  Previously the `main` wrapped the navigation and the primary content of the document. This update moves the `main` to the primary content wrapper, to allow screen reader users a means to easily skip past the navigation.

* template updates round 2

* update shoelace link in footer to say “shoelace - home” rather than “shoelace logo”. being that this is a link, this provides better context that the link will take a user to the home page, rather than to a “shoelace logo”.
* add `aria-label` to twitter link to better align with github link announcements
* add `aria-current=“page”` via jQuery script.  Now the current navigation item will be announced as “current page” to those that can’t see the `current` css class styling.
2018-01-15 08:40:17 -05:00
..
2017-08-13 15:41:38 -04:00
2017-08-13 15:41:38 -04:00
2017-09-02 00:26:47 -04:00
2017-08-13 16:53:32 -04:00
2017-08-26 13:06:05 -04:00
2017-09-01 17:13:46 -04:00
2017-09-26 12:03:57 -04:00
2017-08-28 05:06:28 -04:00
2017-10-30 09:14:57 -04:00
2017-08-23 09:59:22 -04:00
2017-08-17 11:30:47 -04:00
2017-09-01 08:31:30 -04:00
2017-08-08 17:41:40 -04:00
2017-09-26 10:45:55 -04:00