Skip to content

Incorrect focus management when screen reader users click links within the megamenu & land on pages with left nav menu #10699

Open
@laflannery

Description

@laflannery

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)

  1. Go to Va.gov homepage
  2. Click on "VA Benefits and Health Care" in the header
  3. Click on "Education and training" in the megamenu
  4. Click on "Eligibility"
  5. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BreadcrumbsCMS + FE componentDefectSomething isn't working (issue type)Public WebsitesScrum team in the Sitewide crewVA.gov frontendCMS team practice areaa11y-defect-2Serious accessibility issue that should be fixed in the next 1-2 sprintsaccessibilityIssues related to accessibilitysitewide

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions