Files
shoelace/source
Scott O'Hara fafedc749e fix inability to use switch components w/keyboard controls
the switch component was originally using a `display: none` to hide visually hide the native checkbox element. Using this method resulted in the checkbox being inaccessible to keyboard users.

By updating the `.switch input` selector to instead utilize a ruleset that will shrink and visually hide the checkbox from view (see html5 boilerplate’s visuallyhidden class), the checkbox will remain visually hidden, but now allow keyboards and assistive technology to access it.

A new selector `.switch input: focus + label` was also added to provide visual context for when a switch component has received keyboard focus.  Without this selector there would be no indicator, for sighted keyboard users, that a switch was the currently focused element.
2017-08-16 09:05:30 -04:00
..
2017-08-15 10:22:36 -04:00
2017-07-30 12:49:46 -04:00
2017-08-14 01:04:49 -04:00
2017-08-13 15:57:30 -04:00