Skip to content

.ui-state-focus missing from main navigation in 2.4.5 and 2.4.6 #37300

Open
@schizek

Description

@schizek

Preconditions and environment

  • Magento version: 2.4.5 and 2.4.6

Steps to reproduce

  1. Install a vanilla Magento version 2.4.5 - 2.4.6
  2. Open developer tools and inspect a submenu item in the main navigation to watch classes
  3. Using keyboard tab to the main menu then use arrow keys to navigate to submenu items

Expected result

When focus is on a menu item a class should be added of ui-state-focus

Actual result

No ui-state-focus class is added, just ui-state-active

Additional information

Accessibility issue introduced in 2.4.5 and remains an issue in 2.4.6. The ui-state-focus class is missing on items in the menu in focus preventing styles from being added visually identifying which element is in focus for keyboard only users. This violates WCAG Success Criteria 2.4.7 Focus Visible (Level AA). The class exists as expected in version 2.4.3-p2.

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: FrontendComponent: FrontendIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.5Indicates original Magento version for the Issue report.Reported on 2.4.6Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions