[wp-meta] [Making WordPress.org] #3371: All the gravatar images miss an alt attribute

Making WordPress.org noreply at wordpress.org
Fri Jan 12 11:32:06 UTC 2018

#3371: All the gravatar images miss an alt attribute
 Reporter:  afercia                      |       Owner:
     Type:  defect                       |      Status:  new
 Priority:  normal                       |   Milestone:
Component:  Make (Get Involved) / P2     |  Resolution:
 Keywords:  has-screenshots 2nd-opinion  |
Changes (by audrasjb):

 * keywords:  has-screenshots => has-screenshots 2nd-opinion


 Good catch @afercia :)

 It guess the problem is related to a misuse of `get_avatar( )` function
 all around wordpress-meta.

 `alt` parameter of this function seems always ommitted so there is almost
 no alt attribute at all.

 IMO, there is two ways to fix it:
 - Fix `get_avatar( )` use in all wordpress-meta repo by adding an empty
 `alt` parameter.
 - Fix `get_avatar( )` function to set `alt` parameter by default to `''`
 and fix this issue in the whole WP ecosystem :P

 I can work on both solutions. What do you prefer?


Ticket URL: <https://meta.trac.wordpress.org/ticket/3371#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list