Opened 10 years ago
Closed 10 years ago
#34740 closed enhancement (wontfix)
Images in Settings > Discussion > Default Avatar have empty alt attributes
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.3.1 |
Component: | Administration | Keywords: | has-patch |
Focuses: | accessibility | Cc: |
Description
Here's a copy of one of the <img>
elements:
<img alt="" src="http://0.gravatar.com/avatar/0da2f1a9340d3aa196b870f2c107a248?s=32&d=wavatar&r=g&forcedefault=1" srcset="http://0.gravatar.com/avatar/0da2f1a9340d3aa196b870f2c107a248?s=64&d=wavatar&r=g&forcedefault=1 2x" class="avatar avatar-32 photo" height="32" width="32">
Attachments (1)
Change History (9)
#2
@
10 years ago
Attached is a patch to add text to the alt attribute, should you decide it's worth doing.
#5
follow-up:
↓ 6
@
10 years ago
@swissspidy for the record, I'm leaning towards agreeing with you. Considering the images are already described by the surrounding text, screen readers will already have the info they need. Implementing my patch might even clutter the audio (the text could be read aloud twice).
#6
in reply to:
↑ 5
@
10 years ago
- Keywords close added
Replying to henry.wright:
the text could be read aloud twice
Yep, I agree :) @henry.wright do you agree we can close the ticket?
Note: See
TracTickets for help on using
tickets.
Personally I don't see a problem here. Empty alt attributes are totally valid when the image is only for presentational reasons and doesn't contain any important additional information.
In this case, screen readers would read aloud "Mystery Person", "Blank", "Mystery Man", etc. which is exactly what we want here.