Created
January 29, 2023 08:59
-
-
Save CarlasHub/b5e96877944faa7b0f1b1638c68c572b to your computer and use it in GitHub Desktop.
Identify the current page non-visually alternatives
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav> | |
<a href="#home" class="nav-link">Home</a> | |
<a href="#about" class="nav-link" aria-describedby="current">About</a> | |
<a href="#services" class="nav-link">Services</a> | |
<a href="#contact" class="nav-link">Contact</a> | |
</nav> | |
<div hidden id="current"> | |
Current Page | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment