From 5eaac3b1ecfbd030a97097dbd11ae634af57805b Mon Sep 17 00:00:00 2001 From: "J. Degand" <70610011+jdegand@users.noreply.github.com> Date: Thu, 8 Aug 2024 23:32:07 -0400 Subject: [PATCH] docs(angular): add link identification content (#6453) --- .../content/link-identification@5-RCB8AiDbkdIFYNXKWge.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/angular/content/link-identification@5-RCB8AiDbkdIFYNXKWge.md b/src/data/roadmaps/angular/content/link-identification@5-RCB8AiDbkdIFYNXKWge.md index 5d10061fb..d95cd62e0 100644 --- a/src/data/roadmaps/angular/content/link-identification@5-RCB8AiDbkdIFYNXKWge.md +++ b/src/data/roadmaps/angular/content/link-identification@5-RCB8AiDbkdIFYNXKWge.md @@ -1 +1,8 @@ -# Link Identification \ No newline at end of file +# Link Identification + +CSS classes applied to active `RouterLink` elements, such as `RouterLinkActive`, provide a visual cue to identify the active link. Unfortunately, a visual cue doesn't help blind or visually impaired users. Applying the `aria-current` attribute to the element can help identify the active link. + +Visit the following resources to learn more: + +- [@official@Angular Official Docs - Accessibility - Active links identification](https://angular.dev/best-practices/a11y#active-links-identification) +- [@official@MDN Docs - ARIA Current](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current) \ No newline at end of file