Skip to content

Commit

Permalink
Accessibility: add outline when section-tab is focused (#3416)
Browse files Browse the repository at this point in the history
* Add outline when section-tab is focused

* `focus-visible`

Co-authored-by: Anton Berezin <berezinant@gmail.com>

* also apply to platform-bookmark

---------

Co-authored-by: Anton Berezin <berezinant@gmail.com>
  • Loading branch information
lauzadis and berezinant committed Apr 16, 2024
1 parent 5ae6610 commit ff4c2d0
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -566,6 +566,10 @@ td:first-child {
border-bottom: 2px solid var(--active-tab-border-color);
}

.section-tab:focus-visible, .platform-bookmark:focus-visible {
outline: 2px solid var(--active-tab-border-color);
}

.tabs-section-body > div {
margin-top: 12px;
}
Expand Down

0 comments on commit ff4c2d0

Please sign in to comment.