Replies: 7 comments 9 replies
-
Hi @leonardb! Does this happen only on the Clarity website? Does it happen with another browser? |
Beta Was this translation helpful? Give feedback.
-
🤔 Fwiw. I'm on Big Sur. Chrome 90. Firefox 87. Here is what I see... 'Core' checkbox:
'Angular' checkbox:
The focus glow is provided by the browser. We are not likely to change that in Clarity Angular. The hard, blue border is the correct focus display moving forward through Core. Safari appears to be broken on my end. This looks like something that needs to be fixed. I can't make any focus style appear unless I go into the Inspector panel. If I do that, the blue glow appears for the Angular checkbox and nothing appears for the Core checkbox. So tl;dr. I'm not seeing the issues you are describing. But I'm seeing issues. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The video I uploaded is my Macbook (easier to capture video/examples) OS: Big Sur 11.2.3 I'll try and get a video of Chrome/Safari on my Linux workstation tomorrow |
Beta Was this translation helpful? Give feedback.
-
Recording on Ubuntu Xenial Behavior on 'Core':
edit the behavior seems to be the same with 'toggle' on Core component Browsers: clarity.mp4 |
Beta Was this translation helpful? Give feedback.
-
Thanks for all this info @leonardb This could be a bigger issue to tackle. I was thinking maybe it could be just an easy fix but I think I should take it back to the team today to see what our plan for it will be. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
It appears like we could modify this behavior. Details are in this blogpost if you are looking for a workaround @leonardb But before we move forward on any sort of fix, I need to know what the expected interaction it's supposed to be 👈 @scroniser And if we do plan to have these focus outlines, what colors should they be? 👈 @colinreedmiller Clarity has always relied on browsers for focus outlines. But with these new features in chromium browsers, it's looking like we won't be able to continue doing that. |
Beta Was this translation helpful? Give feedback.
-
I'm not logging an issue for this since I'm not sure it is, or how exactly to report it.
When browsing https://clarity.design/ I'm experiencing a strange behavior.
Any element I focus on receives a black border.
for example:
When I focus on a checkbox in the Core Components section, the checkbox gets a square black border.
If I switch focus the text (description) of the element, the entire main viewport gets a black border
If I then do the same for the "Angular Components" checkbox.
When clicking the 'Option 1' checkbox, the black border 'flashes' on-off for the main viewport and the checkbox does not get a black border
When I focus on any of the text in the main viewport, the main viewport gets a black border
I've disabled all browser extensions and the behavior continues.
Browser: Google Chrome Version 89.0.4389.90 (Official Build) (64-bit)
OS: Ubuntu Xenial
Update:
The same border (blue though) occurs with Core Component checkbox with Firefox 87.0 (64-bit)
The 'main viewport' border behavior does not seem to occur.
Beta Was this translation helpful? Give feedback.
All reactions