Browse Source

Make details/summary keyboard accessible

main
Cadence Ember 1 month ago
parent
commit
db49bb38b0
No known key found for this signature in database GPG Key ID: BC1C2C61CF521B17
2 changed files with 5 additions and 2 deletions
  1. +1
    -1
      sass/includes/base.sass
  2. +4
    -1
      sass/includes/video-list-item.sass

+ 1
- 1
sass/includes/base.sass View File

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


+ 4
- 1
sass/includes/video-list-item.sass View File

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


Loading…
Cancel
Save