- From: Steve Faulkner <faulkner.steve@gmail.com>
- Date: Tue, 10 May 2011 21:56:51 +0100
- To: James Craig <jcraig@apple.com>
- Cc: Richard Schwerdtfeger <schwer@us.ibm.com>, W3C WAI-XTECH <wai-xtech@w3.org>
- Message-ID: <BANLkTinodSChaVsOia+m6=3ZMd--SPiNcw@mail.gmail.com>
hi james, >what about an explicit alt="" inside a link? ><a href="/path/about_us.html"><img src="contact.png" alt=""></a> not sure in what sense you mean 'what about' its certainly an author error, in this case, since the accessible name for the link is derived from its content and its content is absent, then a heusristic is to announce the href NVDA goes one better and just announces the linked file name "about_us" regards stevef On 10 May 2011 20:05, James Craig <jcraig@apple.com> wrote: > > Hi Steve, what about an explicit alt="" inside a link? > <a href="/path/about_us.html"><img src="contact.png" alt=""></a> > > > > > On May 10, 2011, at 11:58 AM, James Craig wrote: > > > On May 10, 2011, at 11:20 AM, Steve Faulkner wrote: > > > >> hi james, just a point of clarification: > >> > >> an <img> without alt is not mapped to role=presentation in HTML5 > >> > >> only <img alt=""> > > > > Okay good. Thanks for the clarification. > > > > Even so, this is where the bug lies, correct? > > > > <img src="contact.png" alt="" title="contact"> > > <img src="contact.png" alt="" aria-label="contact"> > > > > Perhaps the bug could be updated so that if was presentational if: > >>> • the author explicitly provided a role of presentation on the img tag, > <img role="presentation"> > >>> • the host language labeling mechanism (in this case @alt) equaled an > empty string, *AND* the ARIA text alternative computation [1] equaled an > empty string. > > > > 1. ARIA text alternative computation: > http://www.w3.org/TR/wai-aria/complete#textalternativecomputation > > > > -- with regards Steve Faulkner Technical Director - TPG www.paciellogroup.com | www.HTML5accessibility.com | www.twitter.com/stevefaulkner HTML5: Techniques for providing useful text alternatives - dev.w3.org/html5/alt-techniques/ Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html
Received on Tuesday, 10 May 2011 20:57:38 UTC