Skip to content

Previous Element get read with Popover component on escape #9832

@Vinit-Pandit

Description

@Vinit-Pandit

Provide a general summary of the issue here

When we close the popover dialog with esc it screenreader (NVDA ) read the previous interactive element while focus go to the triggered element.

🤔 Expected Behavior?

It should not read unnecessary element

😯 Current Behavior

It is reading the previous interactive element on esc close of dialog

💁 Possible Solution

No response

🔦 Context

extraPreviousInteractiveElementGetread.mp4

🖥️ Steps to Reproduce

https://codesandbox.io/p/sandbox/nxd482?file=%2Fsrc%2FApp.js%3A13%2C23

extraPreviousInteractiveElementGetread.mp4

Version

Latest

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Windows

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions