-
Notifications
You must be signed in to change notification settings - Fork 895
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
Handle initial focus within snippet preview modal #10699
Comments
The focus should be on the SEO title input field. Make sure this is announced correctly by screenreaders. |
No, I wouldn't recommend this. There's a lot of content before the title input field that would be basically "skipped" and screen reader users may have no clue there's something before that has been skipped. Modal dialog notes regarding initial focus placement: Based on the rules above we could try to set initial focus on the first paragraph. However, given this is the default Gutenberg behavior, I think it should be solved upstream in Gutenberg, preserving the tooltip:
|
Note: the "Close" button at the bottom is not translatable. |
UPD: if you open console, the bug is gone. |
@dariaknl not arguing, it's not a bug 🙂It's just the default behavior of the Gutenberg modal. I'll open an issue upstream to take this into consideration. The fact that with the console open the tooltip doesn't appear, it's a Chrome bug in correctly handling focus 😉 |
Created WordPress/gutenberg#9410 upstream. |
Closing because this needs to be fixed in Gutenberg |
How can we reproduce this behavior?
Technical info
The text was updated successfully, but these errors were encountered: