[html4all] alt Survey/Commets

Leif Halvard Silli lhs at malform.no
Sun Jan 25 05:25:22 PST 2009


Leif Halvard Silli 2009-01-25 01.24:
> Laura Carlson 2009-01-22 21.22:
>> Should alt be required for the img element in HTML5? Why or why not?
>> Gez Lemon is doing an alt twitter survey / taking comments for a
>> position paper [...]
> 
>> Alternatively comment here.

One more comment:

     [ ... snip ...]
>   AUTHORING
> * no @role + correct @alt = better than incorr. alt + OK @role.
> * Minimum solution on photo sites: <img role="photography" alt="" 
> src="file" >. Valid HTML. Invalid according to WCAG.

   * When using the "minimum solution", it is recommended  - for 
backward compatibility - to *exactly* repeat the value of @role 
inside @alt:  <img role="photography" alt="photography" 
src="file"  Conforming agents will then jump into 'content repair 
mode' and use @role/@alt for content repair only.

    [... snip ...]
-- 
leif halvard silli



More information about the List_HTML4all.org mailing list