-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Post Comments From: Prevent hidden input fields from being focusable in Safari. #50834
Conversation
Size Change: +26 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
Flaky tests detected in 066e477. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5044520845
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks simple enough. Easy fix. Thanks.
Fixes #50830
What?
It appears hidden input fields with a
display: biock
CSS property stay invisible in Safari but become focusable.Why?
As the hidden input fields become focusable, there are invisible tab stops when navigating the page with the Tab key. Invisible tab stops are extremely confusing for keyboard users, including screen reader users.
How?
Make sure to exclude hidden input fields from getting
display: biock
in the post comment form block.Testing Instructions
Testing Instructions for Keyboard
See above.
Screenshots or screencast