Skip to content

Commit bb71c70

Browse files
committed
Add focus-visible style to details toggle for keyboard accessibility
1 parent 4da5641 commit bb71c70

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/stylesheets/collection.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
font-size: 0.8rem;
3434
margin-bottom: 1em;
3535

36-
&:hover {
36+
&:hover,
37+
&:focus-visible {
3738
color: $dark-gray;
3839
text-decoration: underline;
3940
}

0 commit comments

Comments
 (0)