-
Notifications
You must be signed in to change notification settings - Fork 77
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
Auto focus modal content by default #5270
Labels
4 - verified
Issues that have been released and confirmed resolved.
enhancement
Issues tied to a new feature or request.
needs triage
Planning workflow - pending design/dev review.
Comments
janett-baresel
added
0 - new
New issues that need assignment.
a11y
Issues related to Accessibility fixes or improvements.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
needs triage
Planning workflow - pending design/dev review.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
labels
Sep 4, 2022
janett-baresel
changed the title
Auto focus modal content
Auto focus modal content not working
Sep 4, 2022
@jcfranco I would like to change this from a bug report to an enhancement suggestion. Would I need to create a new ticket and close this one? |
benelan
added
enhancement
Issues tied to a new feature or request.
and removed
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
a11y
Issues related to Accessibility fixes or improvements.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
labels
Sep 7, 2022
Hi Jannet, we can use this issue, I just changed the labels. Thanks! |
janett-baresel
changed the title
Auto focus modal content not working
Auto focus modal content by default
Sep 14, 2022
driskull
added
2 - in development
Issues that are actively being worked on.
3 - installed
Issues that have been merged to master branch and are ready for final confirmation.
and removed
0 - new
New issues that need assignment.
2 - in development
Issues that are actively being worked on.
labels
Nov 9, 2022
Installed and assigned for verification. |
geospatialem
added
4 - verified
Issues that have been released and confirmed resolved.
and removed
3 - installed
Issues that have been merged to master branch and are ready for final confirmation.
labels
Nov 17, 2022
Verified the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
4 - verified
Issues that have been released and confirmed resolved.
enhancement
Issues tied to a new feature or request.
needs triage
Planning workflow - pending design/dev review.
Summary
When using a modal dialog the content is not auto focused.
Actual Behavior
Opening a modal from a button will not auto focus the content. The focus stays in the document and continues "behind".
Desired Behavior
When opening a modal dialog the focus is automatically moved to the content or close button. Basically, call setFocus by default when the modal is opened. I cannot think of any user who wouldn't want this behavior.
Reproduction Sample
https://codepen.io/Programmine/pen/RwyNpJe
Reproduction Steps
-> focus remains on button and behind modal
Reproduction Version
latest
Working W3C Example/Tutorial
No response
Relevant Info
reproduced on chrome
Regression?
No response
SV-CH
The text was updated successfully, but these errors were encountered: