openui / openui/open-ui

[switch] Should a switch proposal graduate to the web platform?

Open
#338 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs-triage open-ui-resolved-accepted switch
Dominant language
MDX
Stars
4.5k
Forks
226
Avg merge
2d 22h
Merged PRs (30d)
4

Description

While investigating the checkbox we found some sites had a toggle or switch state for their checkbox. This is not necessarily surprising as it can be seen here as well in the [switch](research concepts page).

I think to fully answer this question however there will need to be a bit more research as I'm truly asking from a graduation perspective. I do feel that based on the amount of systems that have a toggle or switch that a spec for a good switch component should be within Open UI. I do feel that that is a good argument for having on in the platform but there are certain push backs on this given how close the semantics of a checkbox & switch are.

I'm creating this to get others to weigh in and hopefully provide further research PRs into site to help inform the direction.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked checkbox research findings and the switch research concepts page, then review the existing discussion about checkbox and switch semantics. Done means producing further research that informs whether a switch proposal should graduate to the web platform.

Written by the indexing model from the issue text.

Assessment

Domain
accessibility, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.