W3C home > Mailing lists > Public > public-html@w3.org > August 2012

Re: Adaptive Image Element Proposal

From: Peter Winnberg <peter.winnberg@gmail.com>
Date: Thu, 30 Aug 2012 15:22:31 +0200
Message-ID: <CAG21KW=Sd0i_S32uNrL0iUEQmFEebZBLDkyGf5sAou9eYhG8=A@mail.gmail.com>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Cc: Mathew Marquis <mat@matmarquis.com>, HTML WG <public-html@w3.org>, public-respimg@w3.org
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
Received on Thursday, 30 August 2012 13:23:02 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:56 UTC