Commit Graph

83 Commits

Author SHA1 Message Date
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
Fábio Maia
aa6ee1bc0f Fix typo (#66) 2017-10-30 09:14:57 -04:00
Cory LaViska
5f8cea437e Added input hints 2017-09-26 12:03:57 -04:00
Cory LaViska
5d5e110536 Add tabs-nav-block modifier 2017-09-26 10:45:55 -04:00
Cory LaViska
3669e46b3f Make examples more consistent 2017-09-02 00:26:47 -04:00
Cory LaViska
35f7466357 Fix typo 2017-09-01 17:13:46 -04:00
Cory LaViska
def471e719 Don't intercept dropdown clicks by default 2017-09-01 17:03:37 -04:00
Cory LaViska
1a999d1e9d Removed redundant class 2017-09-01 08:31:30 -04:00
Cory LaViska
608e5bf4e2 Added dropdown headings 2017-08-31 12:23:47 -04:00
Cory LaViska
0f8e1ecafc Make file buttons a component; fix #40 2017-08-30 11:58:46 -04:00
Cory LaViska
3cbbdc058b Fixes #47 2017-08-29 22:05:15 -04:00
Cory LaViska
581dd36866 Update docs 2017-08-29 17:53:59 -04:00
Cory LaViska
7c2a0fcc95 Use mutation observer for easier toggline with JS 2017-08-29 17:53:51 -04:00
Cory LaViska
00acd43d73 Fix typo 2017-08-28 05:06:28 -04:00
Cory LaViska
837b3d7f7e Change heading 2017-08-27 14:23:09 -04:00
Cory LaViska
39f7e45648 Make input icons inherit validation 2017-08-27 14:23:00 -04:00
Cory LaViska
d10d5b4f99 Add sample option text 2017-08-27 13:39:14 -04:00
Cory LaViska
d6ea314e17 Add --body-color-muted / reintroduce .text-muted 2017-08-27 13:18:44 -04:00
Cory LaViska
7270d20793 Added input icons 2017-08-27 13:07:44 -04:00
Cory LaViska
87c6a9bbcc Updated docs 2017-08-26 13:06:05 -04:00
Cory LaViska
1138b5fd5c Updated docs 2017-08-26 12:54:07 -04:00
Cory LaViska
79001d159f Update description 2017-08-26 11:48:39 -04:00
Cory LaViska
20f62fe0b8 Update docs 2017-08-26 11:43:10 -04:00
Cory LaViska
f059220e06 Update docs 2017-08-26 11:37:22 -04:00
Cory LaViska
d0d7c5bc8e Sort utils alphabetically 2017-08-26 11:32:47 -04:00
Cory LaViska
26e1d46f9c Document breakpoint utilties 2017-08-26 11:26:07 -04:00
Cory LaViska
eb062c1695 Fixed example 2017-08-26 11:15:59 -04:00
Cory LaViska
07218347ce Added column alignment 2017-08-26 11:04:02 -04:00
Cory LaViska
16ccc08540 Udpate docs 2017-08-26 10:51:10 -04:00
Cory LaViska
286d9c861f Updated docs 2017-08-26 10:28:33 -04:00
Cory LaViska
b9206c3cf5 Added display utilities 2017-08-26 10:28:27 -04:00
Cory LaViska
ab2de70b8d Updated docs to use grid system 2017-08-26 10:04:07 -04:00
Cory LaViska
c93da5d123 Add initial version of grid system forked from BS4 2017-08-26 10:03:58 -04:00
Cory LaViska
75337c6ba2 input-single ==> input-field 2017-08-23 09:59:22 -04:00
Cory LaViska
72eb56bd4d Fixed strange typo 2017-08-18 23:11:13 -04:00
Cory LaViska
fda7c402aa Fixes #43 2017-08-18 16:02:58 -04:00
Cory LaViska
fbb5fd1763 Fix attribution 2017-08-18 15:06:45 -04:00
Cory LaViska
577bed21d1 Move back to KeyCDN 2017-08-18 14:57:46 -04:00
Cory LaViska
2f30a129ef Fixes #42 2017-08-18 14:27:07 -04:00
Cory LaViska
75614a2fdb Updating customizing docs 2017-08-18 14:08:16 -04:00
Cory LaViska
7a1897c534 Update installation docs 2017-08-18 13:54:53 -04:00
Cory LaViska
c521ca1d92 Recommend flexgrid2 2017-08-18 13:53:42 -04:00
Cory LaViska
e2d5d152b7 Updated browser support docs 2017-08-18 13:53:31 -04:00
Cory LaViska
99ec2e4b4c Rework buttons 2017-08-17 17:33:44 -04:00
Cory LaViska
d9eab986f4 Rework forms 2017-08-17 14:13:56 -04:00
Cory LaViska
74be0eeb92 Rework switches 2017-08-17 12:59:18 -04:00
Cory LaViska
231863dea4 Rework progress bars 2017-08-17 11:30:47 -04:00
Cory LaViska
ede9bb44da Rework width- and height- 2017-08-16 21:48:08 -04:00
Cory LaViska
c362cf7cf5 Rework padding- and margin- 2017-08-16 21:34:27 -04:00
Cory LaViska
efc4be7048 Rework loaders 2017-08-16 21:17:55 -04:00