Replies: 1 comment
-
On the web, There is one notable exception. Safari intentionally does not apply If you're theming and noticing the colors changing on hover/focus/press when you set the color, check out "How do I change the color of a button?" and "Why does my color change on hover/focus/pressed?" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In desktop browsers, why does switch appear focused after being clicked? When I was browsing the switch accessibility document, I noticed that the switch in the document was in focus after being clicked. There is no focus state, and in the actual code, the background color of the handle will maintain the color of the focus state after the switch is clicked.
This is a screenshot after clicking and removing focus:
Here is a screenshot of what does nothing when clicked:
Beta Was this translation helpful? Give feedback.
All reactions