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

Lock focus in modal #160

Open
1 of 4 tasks
floflo0 opened this issue Nov 27, 2024 · 0 comments
Open
1 of 4 tasks

Lock focus in modal #160

floflo0 opened this issue Nov 27, 2024 · 0 comments
Labels
bug Something isn't working priority: low

Comments

@floflo0
Copy link
Member

floflo0 commented Nov 27, 2024

Type of Issue

  • Bug
  • Feature Request
  • Documentation
  • Other

Description

When a modal open, you can continue to interact with the page using keyboard. This can introduce bugs for example, the pizza admin you can modify an order after you've added.

Steps to Reproduce

  • Go in the pizza admin
  • Create an order
  • Use Tab to focus the name field or a pizza field and change it

Expected Behavior

When a modal is opened, the user can only focus element in the modal.

Screenshots

If applicable, add screenshots to help explain the issue.

Additional Context

Add any other context about the issue here.

@floflo0 floflo0 added bug Something isn't working priority: low labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: low
Projects
None yet
Development

No branches or pull requests

1 participant