UI breaks when letter avatar images don't load

I am actually rolling this all back per:

http://webaim.org/techniques/alttext/

See example 2:

<p class="center captioned">
<img src="media/gw.jpg" alt="" width="125" height="157"><br>
<strong>George Washington</strong>
</p>

In this case, the content of the image is presented within the surrounding content, so Option B (alt="") is the best choice.

I do not want screen readers reading “avatar” or “username” or anything there.

We provide the aria-label of “profile, messages, bookmarks and preferences” … this is accurate correct and non-redundant

“profile, messages, bookmarks and preferences … avatar” is just confusing … so sorry this patch is not going to land, alt text has to stay blank.

1 Like