Skip to content

Conversation

@younisdev
Copy link
Contributor

Description

Adds checkbox switch attribute to checkbox document with examples and an interactive example.

Motivation

These changes ensures that the readers are aware of the switch attribute and its use cases within the supported browsers. And it documents an attribute with little to no documentation online.

Additional details

https://webkit.org/blog/15054/an-html-switch-control/
This pull request still need a bcd update (in progress).

Related issues and pull requests

Fixes #29231

@younisdev younisdev requested a review from a team as a code owner January 19, 2026 20:04
@younisdev younisdev requested review from hamishwillee and removed request for a team January 19, 2026 20:04
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed labels Jan 19, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 19, 2026

Preview URLs

(comment last updated: 2026-01-19 23:53:38)

@sideshowbarker sideshowbarker merged commit ac95418 into mdn:main Jan 19, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document <input type=checkbox switch>

2 participants