-
Notifications
You must be signed in to change notification settings - Fork 71
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
[Accessibility support] - Empty alt attribute is now consistently supported #2274
base: develop
Are you sure you want to change the base?
Conversation
…ifferent ways - I hasn't been true for several years
@@ -55,7 +55,6 @@ There are no assumptions. | |||
|
|||
### Accessibility Support | |||
|
|||
- There are several popular browsers that do not treat images with an empty `alt` attribute (`alt=""`) as having a role of `presentation` but instead add the `img` element to the accessibility tree with a [semantic role][] of either `img` or `graphic`. |
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 great!
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.
This has been very well supported across multiple AT/browser combinations since 2014:
https://www.powermapper.com/tests/screen-readers/labelling/img-null-alt/
We're saying above "This can be merged with 1 approval". But our checks do require three approvals, and this is a change to a rule. I think three approvals still required here ... |
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.
Approving! thanks!
Edited the description! Thanks for the catch |
Call for review ends on February 28th 2025. |
Closes: #2273
Description:
I've removed the following accessibility support note from Image has non-empty accessible name - 23a2a8
Since it's quite few years this is no longer true.
Need for Call for Review:
This will require a 2 weeks Call for Review