A visually highlighted navigation link may still leave a screen reader user unsure which page is open. Add aria-current="page" to the link for the current page, and give sighted users a visual cue such as an underline. section 2.5.1
<ul> <li><a href="DivSoup.html" aria-current="page">Home</a></li> #A <li><a href="#">Minestrone</a></li> <li><a href="#">Contact</a></li> </ul>
The Home link is marked as the current page; the other navigation links are not. section 2.5.1
header nav a[aria-current="page"] { #A
text-decoration: underline;
font-weight: bold;
}
CSS uses the same attribute to underline and bold the current link. section 2.5.1
Keep the links inside a semantic navigation area. With this markup, a screen reader announces the marked link as the “current page.” section 2.5.1
