Skip to content

Commit

Permalink
Merge pull request #151 from pietvanzoen/main
Browse files Browse the repository at this point in the history
Use aria-current="page" to highlight the current page in the header nav
  • Loading branch information
kevquirk authored May 19, 2023
2 parents 0fe599c + e1cd0c5 commit b70b409
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ header > nav a:visited {
}

header > nav a:hover,
header > nav a.current {
header > nav a.current,
header > nav a[aria-current="page"] {
border-color: var(--accent);
color: var(--accent);
cursor: pointer;
Expand Down

0 comments on commit b70b409

Please sign in to comment.