Skip to content

Commit

Permalink
A11Y - Add visual indicator for tabs hover
Browse files Browse the repository at this point in the history
Only changing color is not visually distinctive enough, adding an
underline with same size as link underline thickness.

See Quansight-Labs/czi-scientific-python-mgmt#79
  • Loading branch information
Carreau committed Jun 14, 2024
1 parent 4be630f commit 27e4ea8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ html[data-theme="light"] {
&:not(:checked, :focus-visible) + label:hover {
border-color: transparent;
color: var(--pst-color-secondary);
text-decoration-line: underline;
text-decoration-thickness: $link-hover-decoration-thickness;
}
}

Expand Down

0 comments on commit 27e4ea8

Please sign in to comment.