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-12 10:45:37 -04:00
2017-09-26 10:45:34 -04:00
2017-10-10 20:58:00 -04:00
2017-07-25 16:05:23 -04:00
2017-08-18 14:49:20 -04:00
2017-08-18 17:54:44 -04:00
2017-08-18 14:49:20 -04:00
2017-08-26 11:12:33 -04:00
2017-07-25 16:05:23 -04:00
2017-09-21 09:50:51 -04:00
2017-10-10 20:58:00 -04:00
2017-08-18 10:09:09 -04:00

Shoelace.css

A back to the basics CSS starter kit. For when you dont need the whole boot.

📚 Website & Docs

💻 Source Code

🚛 License


Developers

Shoelace ships with a CLI that can be used to build a release and generate documentation. To build a release, run:

node build.js --build

To see all available options, run:

node build.js --help

Developed by @claviska for Surreal CMS.

© A Beautiful Site, LLC

Description
No description provided
Readme 130 MiB
Languages
TypeScript 64.5%
Nunjucks 17.4%
CSS 11.8%
JavaScript 6.2%