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

This commit is contained in:
Zach Leatherman committed 2024-08-26 14:53:52 -05:00
1 parent c87bda3621
commit cdd2fd7a42
2 files changed
+78 -32

No files matched your search

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