Open
Description
Describe the defect
On certain pages on VA.gov, if a screen reader user clicks on a link in the desktop megamenu, the focus remains in the megamenu instead of moving to the title of the content page. This creates confusion and frustration for the user.
To Reproduce
Steps to reproduce the behavior:
(With your screen reader turned on)
- Go to Va.gov homepage
- Click on "VA Benefits and Health Care" in the header
- Click on "Education and training" in the megamenu
- Click on "Eligibility"
- When the Eligibility page loads, the screen reader continues to read the links within the megamenu instead of the Eligibility page content.
AC / Expected behavior
- After activating any link within the megamenu, focus should always be on the skip link at the top of the page
- Ensure that your solution works across VAgov, not selectively
- Confirm with the Accessibility Lead
- After merge to prod, validate whether your solution works on injected-header sites
- (if necessary) Create any follow-up tickets
Additional context
After testing, I was not able to reproduce this behavior on all pages, only some. I am unsure if there is something different about the pages, or the megamenu or what exactly is making this behavior inconsistent across various pages.
Activity