Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] corrected tab order for modal #44496

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

harshgtm
Copy link

@harshgtm harshgtm commented Nov 21, 2024

Problem:
When the modal is opened and the user presses Tab to navigate through the action buttons, the focus moves in reverse order (right to left), which is not the expected behaviour.

Solution:
Adjusted the layout of the modal action buttons to ensure they follow the correct tab order from left to right. This was achieved by rearranging the buttons and setting the flex-direction to row (previously it was row-reverse) and justify-content to flex-end.

Related Issue:
Fixes #42185

@harshgtm harshgtm closed this Nov 21, 2024
@harshgtm harshgtm reopened this Nov 21, 2024
@mui-bot
Copy link

mui-bot commented Nov 21, 2024

Netlify deploy preview

https://deploy-preview-44496--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against ec2b312

@harshgtm harshgtm closed this Nov 21, 2024
@harshgtm harshgtm reopened this Nov 21, 2024
@harshgtm harshgtm closed this Nov 21, 2024
@harshgtm harshgtm reopened this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[joy-ui][Modal] Is it expected for actions to be presented inverted?
2 participants