Learner Dashboard has a broken skip link #510
Labels
a11y
Relates to platform accessibility
bug
Report of or fix for something that isn't working as intended
good first issue
A good task for a newcomer to start with
help wanted
Ready to be picked up by anyone in the community
description
frontend-component-header
has, correctly, a Skip to main content link that goes tohref=main
. However, Learner dashboard has amain
element with no ID, so the skip link fails. This is an accessibility issue; it's a violation of WCAG 2.4.1 (and is also just a broken link). This can almost certainly be easily fixed by addingid=main
to themain
element.acceptance criteria
a keyboard or screen reader user who loads the page will have the first link be "Skip to main content", and activating that link should take the keyboard or screen reader focus to the primary block (for keyboard users it will be the "my courses" first reachable element, which I believe is the "refine" button; for screen reader users I believe there is the invisible announcement "learner home" followed by the rest of the "my courses" component).
The text was updated successfully, but these errors were encountered: