Skip to content

ActionMenu items lose focus when zooming in/out #3574

@strackoverflow

Description

@strackoverflow

This is something that came up during an internal accessibility review (staff link). In PVC's ActionMenu component, there is a bug where the currently focused menu item changes when the user changes their browser zoom level:

focus-bug.mov

This is confusing behavior for users who rely on assistive technologies. Ideally, users would be able to zoom their browser without the currently focused menu item switching on them. It's worth noting that this problem does not seem to affect the React version of ActionMenu:

451533006-40db0cd6-ecb1-4a39-8d99-847588aba67e.mov

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions