-
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
Fix misaligned textarea input control #49116
Conversation
Size Change: +266 B (0%) Total Size: 1.34 MB
ℹ️ View Unchanged
|
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.
I think perhaps there's an opportunity to improve that description (in a follow-up). How often are images purely decorative and shouldn't have alt text? |
Agree, here's an older tiny reduction I pondered: I wonder if we could even do without the link. It seems an awkward way to have random external links in help text. To answer your question to the best of my understanding, though, images are very rarely decorative to the point that they need no description. Things like separators or backgrounds below text. But when they are decorative, it's important that the alt tag is empty, so we don't make a page overly verbose for a screen reader to read. |
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.
Looks good! I agree this is probably the best way to address the issue. I can't think of any cases where this would be a breaking change for anyone.
Before merging, please add a bug fix entry in the changelog. Thanks! 🚀
Flaky tests detected in 4264d2d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4461392032
|
eaf34b7
to
0bc4d3e
Compare
What?
Closes #49115 — although there may be a better way?
Why?
Consistency.
How?
Adds
display: block
toinputControl
, which removes the excess space that occurs after the textarea.Testing Instructions
Screenshots or screencast