Creates the SkipNavComponent.
used to listen to route changes
Indicates if the initial page load has completed.
used to listen to route changes
The aria-label text provided after navigation is skipped.
Tabindex given to the div that receives focus after skipping navigation.
A reference to the div that receives focus after skipping navigation.
Automatically skip navigation on page navigation
Set focus on #start-of-content and set the
tabindex to allow normal tab flow
Sets up route listener on component creation.
Manually skip navigation
Remove #start-of-content from the taborder
after it loses focus
Generated using TypeDoc
Provides a shortcut button to skip the main navigation for accessibility purposes.
Features:
aria-labelto notify the user that navigation has been skipped