Make details/summary keyboard accessible

This commit is contained in:
Cadence Ember 2021-05-18 00:32:52 +12:00
parent cebc4331bc
commit db49bb38b0
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
2 changed files with 5 additions and 2 deletions

View File

@ -45,7 +45,7 @@ select:-moz-focusring
text-shadow: 0 0 0 c.$fg-bright text-shadow: 0 0 0 c.$fg-bright
body.show-focus body.show-focus
a, select, button, input, video a, select, button, input, video, summary
&:focus &:focus
outline: 2px dotted #ddd outline: 2px dotted #ddd

View File

@ -17,7 +17,10 @@
visibility: hidden visibility: hidden
@at-root .thumbnail:hover &, &[open] @at-root .thumbnail:hover &, body.show-focus &
visibility: visible
&[open]
visibility: visible visibility: visible
&__show-more &__show-more