Skip to content

Focus pulled to first menu item when activating menu with keyboard #7264

@niamhmadden24

Description

@niamhmadden24

Description

When using keyboard to open the menu, focus is pulled to the first menu item. This fails WCAG 2.4.3 Focus Order.

It's expected that focus stays on the menu itself once opened, until tab is pressed to go to the first menu item.

Reproduction

https://carbon.sage.com/?path=/docs/menu--docs

Steps to reproduce

Use keyboard to open the menu

JIRA ticket numbers (Sage only)

No response

Suggested solution

No response

Carbon version

152.2.0

React version

v18

Design tokens version

No response

Relevant browsers

Chrome

Relevant OSs

MacOS

Additional context

No response

Confidentiality

  • I confirm there is no confidential or commercially sensitive information included.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions