Skip to content

Commit

Permalink
Merge pull request #934 from City-of-Helsinki/UHF-9762
Browse files Browse the repository at this point in the history
UHF-9762: Accessibility improvements for the table of contents (TOC)
  • Loading branch information
teroelonen authored Apr 4, 2024
2 parents 8a260d3 + 97384d3 commit 6e5f21e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/scss/06_components/navigation/_table-of-contents.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,9 @@
}
}
}

.toc-focusable:focus,
.toc-focusable:active {
outline: 3px solid $color-black;
outline-offset: 2px;
}

0 comments on commit 6e5f21e

Please sign in to comment.