Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions site/src/pages/components/switch.explainer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -300,12 +300,11 @@ Open UI research page: https://open-ui.org/components/switch/

### User interaction

<div class="question">Should a swipe or drag&drop movement also toggle the switch?</div>

From a user standpoint, the following interactions should be supported

- Click/tap: toggles the switch
- <kbd>Spacebar</kbd>: toggles the switch which has keyboard focus
- Swipe: Switch should support gesture support akin to [input type="range"](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range) ([#1045](https://github.com/openui/open-ui/issues/1045))

### Styleability

Expand Down