Skip to content

Commit 942be55

Browse files
jenndiazpfulton
authored andcommitted
chore(dial): adds focus-visible
1 parent 7984502 commit 942be55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/dial/index.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ governing permissions and limitations under the License.
188188

189189
&:active,
190190
&:focus-visible,
191+
&:focus-within,
191192
&.is-dragged {
192193
border-width: var(--mod-dial-handle-border-size, var(--spectrum-dial-handle-border-size));
193194
cursor: ns-resize;
@@ -201,7 +202,8 @@ governing permissions and limitations under the License.
201202
}
202203
}
203204

204-
&:focus-visible {
205+
&:focus-visible,
206+
&:focus-within {
205207
background-color: var(--highcontrast-dial-handle-marker-color-mouse-focus, var(--mod-dial-handle-marker-color-mouse-focus, var(--spectrum-dial-handle-marker-color-mouse-focus)));
206208
border-color: var(--highcontrast-dial-handle-marker-color-mouse-focus, var(--mod-dial-handle-marker-color-mouse-focus, var(--spectrum-dial-handle-marker-color-mouse-focus)));
207209

0 commit comments

Comments
 (0)