Router link accessibility features

Brian Treese on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateAccessibility9 min

About this video

Shows how to use Angular Router directives to mark the active link in a breadcrumb list and add aria-current for better accessibility. Aimed at developers who already build Angular apps.

What you’ll learn

  • Apply routerLinkActive to mark the current route in Angular navigation
  • Use exact-match routerLinkActive to avoid false active states
  • Add aria-current to router links with ariaCurrentWhenActive