-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Announce current project nav in screen readers (#5682)
* Announce current project nav in screen readers - Add `aria-current=page` to the project navigation and the project About section navigation menus. - Use the `[aria-current=page]` attribute selector to style the current page link. - Compare the current project section, not the whole URL path, to find the current page in the project navigation menu. * refactor active link in DropdownNav components too * Accessible project navigation: fix server-side page paths (#5755) * Fix About Nav highlighting * Account for panoptesEnv in server-side page paths * Clarify server-side vs. client-side app paths * check for router.isReady --------- Co-authored-by: Delilah C <[email protected]>
- Loading branch information
1 parent
995a00e
commit b84229d
Showing
8 changed files
with
92 additions
and
95 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.