Is there any way to disable focus outline around the elements for all elements? #1448
Answered
by
metonym
radiorambo
asked this question in
Q&A
-
That blue highlighter that appears when ever we click or select some thing? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
metonym
Aug 15, 2022
Replies: 1 comment
-
The focus outline exists for accessibility. As such, it's not recommended to remove them entirely. If using the html {
--cds-focus: #ccc;
} If you must remove it, the easier way would be to set the color to be |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
metonym
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The focus outline exists for accessibility. As such, it's not recommended to remove them entirely.
If using the
all.css
stylesheet, you can customize the--cds-focus
color.If you must remove it, the easier way would be to set the color to be
transparent
.