openui / openui/open-ui

[switch] Should the explainer be rewritten to support the switch attribute?

Open
#1,282 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MDX
Stars
4.5k
Forks
226
Avg merge
2d 22h
Merged PRs (30d)
4

Description

The switch explainer has a long standing open question regarding markup. Initially, the explainer was proposing adding a new <switch> element but an switch attribute proposal using <input type="checkbox" switch> was submitted to WHATWG in July 2023 shortly before the explainer was published.

Should the explainer be rewritten to use the switch attribute?

See also:

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 by reading the switch explainer and its comparison of the switch attribute and switch element, then review the linked WHATWG switch attribute proposal and the related web-platform-tests Interop issue. Done means reaching a documented decision about the markup approach and updating the explainer consistently with that decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, web-dev
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.