Skip to content

Commit

Permalink
♿ a11y(bal-input-slider): focus not visible enough (#1635)
Browse files Browse the repository at this point in the history
* Create PR for #1630

* fix(input-slider): highlight slider thumb when navigating with keyboard

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Marco Zirkenbach <[email protected]>
  • Loading branch information
github-actions[bot] and m4rc0z authored Mar 6, 2025
1 parent a8c1840 commit 7afef3c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/tall-cobras-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@baloise/ds-core': patch
---

**core**: a11y: highlight slider thumb when navigating with keyboard
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,15 @@
&:focus-visible
outline: none

&::-webkit-slider-thumb
background: var(--bal-color-primary)
border: 2px solid var(--bal-color-primary)
&::-webkit-slider-thumb,&::-moz-range-thumb
height: 1.5rem
width: 1.5rem
background: var(--bal-color-white)
border: 4px solid var(--bal-color-primary)
box-shadow: 0 0 0 0.75rem rgba(255, 255, 255, 0.3)
outline: none
position: relative


&::-moz-range-track
cursor: pointer
Expand Down

0 comments on commit 7afef3c

Please sign in to comment.