Re: Adaptive Image Element Proposal

2012/8/30 Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>:
> (1) To repeat oneself is an antipattern. In my view, it should be
> considered valid if the <img> does not contain any @alt as long as it
> instead points, via aria-labelledby="", to the picture element:
>
> <picture alt="Alernative text" id="pict" >
>  <img src=file aria-labelledby="pict" />
> </picture>

This is insufficent because older browsers / AT that have no support
for the picture element or ARIA would be left with an img element
without alt text. So the alt attribute is always needed on the img
element.

Received on Thursday, 30 August 2012 13:23:02 UTC