[Bug]: sp-color-slider and sp-color-wheel fail to render focused style when first receiving focus #3278
Closed
1 task done
Labels
a11y
Issues related to accessibility
bug
Something isn't working
Component: Color slider
Component: Color Wheel
Code of conduct
Impacted component(s)
ColorSlider, ColorWheel
Expected behavior
<sp-color-slider>
and<sp-color-wheel>
should render thefocused
style when they first receive focus, tabbing into the document of iframe.Actual behavior
For ColorSlider:
Repeat for ColorWheel:
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
Sample code that illustrates the problem
In order to account for the focused element in the shadowRoot matching
:focus-visible
or.focus-visible
, change this:spectrum-web-components/tools/base/src/Base.ts
Lines 81 to 100 in 2682d93
To this:
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: