[wp-trac] [WordPress Trac] #56824: SVGs missing title and description in WordPress dashboard (was: Accessibility image alt text empty & SVG missing title and description on wordpress dashboard)
WordPress Trac
noreply at wordpress.org
Fri Oct 28 20:08:54 UTC 2022
#56824: SVGs missing title and description in WordPress dashboard
----------------------------------------+----------------------------
Reporter: viralsampat | Owner: (none)
Type: defect (bug) | Status: new
Priority: low | Milestone: 6.2
Component: Administration | Version: 6.0
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: accessibility
----------------------------------------+----------------------------
Changes (by ryokuhi):
* keywords: close reporter-feedback => needs-patch good-first-bug
* priority: normal => low
* version: => 6.0
* milestone: Awaiting Review => 6.2
Comment:
We reviewed this ticket today during the Accessibility Team's weekly bug
scrub.
Regarding the alternative text for Gravatars in the Recent Comments
widget, I agree with @audrasjb that it should stay empty. From the point
of view of accessibility, as he said, the alt text in these cases wouldn't
add much value, since users normally use their pictures for Gravatars.
From the technical point of view, I'm not sure it makes sense to implement
a mechanism to add in WordPress the alternative text of an image hosted on
an external website.
Regarding the two SVGs, some automated tools mark such elements with
errors because these SVGs have the `role="img"` attribute: despite being
hidden to assistive technologies using `aria-hidden="true"`, automated
tools still understand them as images and expect alternative texts.
While this is not a priority, removing `role="img"` would solve the issue,
and would be a very nice opportunity for someone new to start contributing
to WordPress.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56824#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list