std-switch icon indicating copy to clipboard operation
std-switch copied to clipboard

Explainer and demo for <std-switch>

Results 14 std-switch issues
Sort by recently updated
recently updated
newest added

https://github.com/tkent-google/std-switch/tree/3418f78239e5a99ca6c37099ecb3edfc45e21b29#content-attributes discusses two models for attribute mappings. Here I will list some pros/cons. A) Compatible with `` - (+) Consistent, and thus relatively easy to understand, especially for reset behavior....

`````` will have a platform-independent appearance by default. We should provide an easy way to enable platform-dependent appearance.

The explainer argues that a switch is a semantically different control from a checkbox, citing style guides that suggest different usage. The style guides roughly suggest that switches should be...

The explainer lists the following goal: > Identical appearance on all platforms and all supported browsers by default but provides no justification for it. Existing form controls have either a...

The demo page illustrates a number of different themes for `` and has a particular rendering (including animations). Will the available theme names be standardized? Will exact details of the...

In native UI playing with a switch does not require confirmation. Settings are changed live. Is there precedent for that not happening? I'm a bit worried we might end up...

This PR provides: * some [cleanup to the readme file](https://github.com/tkent-google/std-switch/commit/a7fae759641f5548fac95af367c86445fa579892) * ensuring the addition of optional text on track [does not cause redundant state announcements](https://github.com/tkent-google/std-switch/commit/42cf1a89fa1c80ac8492f53bf5b3b77296f10341) to assistive technologies. re: issue...

*(From the example you have in the README, and the other threads here, it looks like you're already considering this, but I had some suggeestions, which I hope may be...

For someone with dexterity issues (or maybe just a dirty keyboard), the space bar toggle interaction can cause issues. If held, the space bar will repeat, triggering another state change....

This is interesting work; switches are quite prevalent these days, and having a standard implementation would be helpful. Switches can present some significant accessibility barriers, though. One affects people who...