Upgrade accessibility of heading-anchors component to prefer sibling links (if anchor position available)

This commit is contained in:
Zach Leatherman
2024-08-26 14:53:52 -05:00
parent c87bda3621
commit cdd2fd7a42
2 changed files with 78 additions and 32 deletions

View File

@@ -256,3 +256,7 @@ header {
margin-right: 1em;
}
/* Anchor links color */
a[href]:is(:link, :visited).heading-a {
color: #aaa;
}