Re: A presentational img?

thanks!

On 10 May 2011 22:22, James Craig <jcraig@apple.com> wrote:

> On May 10, 2011, at 2:13 PM, Steve Faulkner wrote:
>
> > is <img> being special cased here or should a title on an element with
> role=presentation mean that role=presentaion is overriden on the element?
>
> <img> is not being special-cased as far as I know. An explicit
> role="presentation" would take precedence unless the element were focusable.
>
> From: http://www.w3.org/TR/wai-aria/complete#presentation
> > If an element with a role of presentation is focusable, user agents MUST
> ignore the normal effect of the role and expose the element with implicit
> native semantics, in order to ensure that the element is both understandable
> and operable.
>
>
> For example:
>
> Not exposed (presentational with no descendants):
> <img role="presentation" aria-label="foo" alt="bar" title="baz">
>
> Exposed as "foo, image":
> <img tabindex="0" role="presentation" aria-label="foo" alt="bar"
> title="baz">
> <img tabindex="0" role="presentation" alt="foo" title="bar">
> <img tabindex="0" role="presentation" alt="" title="foo">
> <img tabindex="0" role="presentation" title="foo">
>
>
>


-- 
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 21:26:28 UTC