You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uses CSS attribute selectors for synchronizing <code>.checked</code> property of the <code>input</code> element with the graphically rendered state.
</li>
<li>
Uses CSS <code>:hover</code> pseudo-class and <code>onfocus</code>/<code>onblur</code> event handlers for setting/removing a class name for styling visual keyboard focus and hover to make the relationship between the label and the switch perceivable to the user by creating a border around both the switch and the label and also changing the background color.
Uses CSS <code>:hover</code> pseudo-class and <code>onfocus</code>/<code>onblur</code> event handlers for setting/removing a class name for styling visual keyboard focus and hover. The focus styling makes the relationship between the label and the switch perceivable to the user by creating a border around both the switch and the label and also changing the background color.
<ul>
<li>
The focus indicator encompasses both the switch and label to make it easier to perceive when the switch has focus.
Expand Down
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add switch example using HTML checkbox input #1895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Add switch example using HTML checkbox input #1895
Changes from 1 commit
97f74a902e388c91aeb0bc00b6657f943cc77abf1da32ebb727f2ebebf5ded62d403bc218de1f8e5f3bee73bc13a7b41e3e7d77881d86f3f6b6121948851af2ca24b8813cbf102da47b063e4a74b3f26760ebb9f0308ff293d89964456f7e399fbc150cf98b85041af41a801cdd2535a437245880e26b0a60b782197e98ab05cacebf32c6fe0b872fef6a7731b3f2c74334d0e499acdec6e44db66b6a551a009fc6044a7147041ce13351af7211c39b76184588733e1ac426b19c8fae3b6132795d41df7fcc1cc42b088d8f31b97c2e7ee8bde13911562fe0313face8558fc72File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing