Commit Graph

231 Commits

Author SHA1 Message Date
Martijn van der Ven
c4161b7251 Switch RawGit to unpkg (#85)
* Switch RawGit to unpkg

* Switch RawGit to unpkg in docs

* Switch RawGit to unpkg in layout
2019-08-05 09:53:37 -04:00
Andrew Marcuse
e09e51e0e9 fix newlines in textareas on Firefox (#82) 2018-11-21 09:05:43 -05:00
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
Alex Carpenter
17b173219b Keyboard accessibility updates for docs (#69)
* Adds skip to link for keyboard users

* Makes navigation wrapper a nav element for screenreader support

* Adds role contentinfo to footer for screenreader support

* Built doc files
2017-12-11 10:43:09 -05:00
Fábio Maia
aa6ee1bc0f Fix typo (#66) 2017-10-30 09:14:57 -04:00
wesley luyten
877f4c556c Add textarea to the validation modifiers (#65) 2017-10-10 20:52:35 -04:00
Cory LaViska
5bb6d4c426 Use browser default for tab focus (less distracting) 2017-09-27 09:36:38 -04:00
Cory LaViska
98f0831d3c Allow input-hints with input-groups 2017-09-26 12:30:09 -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
8166cd0ebb Add --dropdown-caret-*; use border instead of ascii 2017-09-04 14:02:47 -04:00
Cory LaViska
3669e46b3f Make examples more consistent 2017-09-02 00:26:47 -04:00
Cory LaViska
df784b6914 Make button selectors less specific 2017-09-02 00:20:13 -04:00
Cory LaViska
d7c2103eea Intercept dropdown clicks for demos 2017-09-01 23:59:53 -04:00
Cory LaViska
1249cb5409 Make dropdown selectors less specific 2017-09-01 23:57:09 -04:00
Cory LaViska
80d6742003 Don't allow clicks on disabled items 2017-09-01 23:56:39 -04:00
Cory LaViska
8b0e6c559f Remove --font-size-big 2017-09-01 23:51:49 -04:00
Cory LaViska
76522bbdc7 Make --font-size-small relative 2017-09-01 23:51:23 -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
31c72be21c Add --dropdown-line-height and set alignment 2017-09-01 12:33:17 -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
9f8d10ad9a Add more dropdown vars
--dropdown-font-size
--dropdown-font-weight
--dropdown-heading-color
--dropdown-heading-font-size
--dropdown-heading-font-weight
2017-08-31 12:23:36 -04:00
Cory LaViska
041c13b92d Don't close when clicking on disabled or headings 2017-08-31 12:17:29 -04:00
Cory LaViska
87c74a6e1c Fixes #51 2017-08-31 09:50:46 -04:00
Cory LaViska
75e4582dd6 Fixed dropdown trigger bug introduced in #49 2017-08-30 17:56:41 -04:00
Cory LaViska
b662e8408a Add missing position 2017-08-30 16:22:12 -04:00
Cory LaViska
62b23735dc Remove redundant check 2017-08-30 12:13:43 -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
1756c58157 --input-focus-width ==> --component-focus-width 2017-08-29 22:04:53 -04:00
Cory LaViska
66d5ff10dc Make homepage header consistent with docs 2017-08-29 17:54:27 -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
b9f1b32b2a Fixes #49 2017-08-29 11:05:49 -04:00
Cory LaViska
00acd43d73 Fix typo 2017-08-28 05:06:28 -04:00
Cory LaViska
909a09f860 Fix padding on mobile 2017-08-28 05:06:22 -04:00
Cory LaViska
a4ee4f036f Add height to support SVG icons 2017-08-27 14:44:41 -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
32baab38bc Improve checkbox appearance in Chrome/Firefox/Safari 2017-08-27 13:46:03 -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
3fc0e236f6 Move variables back to variables.css 2017-08-26 13:05:28 -04:00
Cory LaViska
1138b5fd5c Updated docs 2017-08-26 12:54:07 -04:00
Cory LaViska
07ea3d2c4d Separate core variables and breakpoints 2017-08-26 12:50:18 -04:00
Cory LaViska
79001d159f Update description 2017-08-26 11:48:39 -04:00