[Dialog] Focus not moving into dialog content when talkback is on #44779
Labels
accessibility
a11y
component: dialog
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
Steps to reproduce
Steps:
Current behavior
When talkback is on, the focus does not move inside the content of the dialog. This may be due to the tabIndex=-1 applied to the TransitionComponent. I overrode the TransitionComponent, but after that, the focus is no longer trapped inside the dialog; it moves out, and the focus order becomes incorrect. Please refer to the screen recording for more details.
Expected behavior
When talkback is on, the focus should move into the dialog content automatically when the dialog opens.
The focus should remain trapped within the dialog while it is open, preventing it from moving to elements outside the dialog.
The focus order inside the dialog should follow a logical and meaningful sequence, ensuring accessibility and usability for screen reader users.
Context
Access the content of the dialog when talkback is on.
Your environment
npx @mui/envinfo
Search keywords: A11y
The text was updated successfully, but these errors were encountered: