Re: ISSUE 30 @longdesc use cases

Jonas Sicking, Mon, 23 Aug 2010 09:58:21 -0700:
> On Mon, Aug 23, 2010 at 5:02 AM, Joshue O Connor:

> Wouldn't this markup work?
> 
> <img src="chart.png" alt="..." aria-describedby="chart-description">
> <p hidden id="chart-description">
>   long description here.
> </p>

So you want to redefine @hidden? The spec says - #the-hidden-attribute:

]]
It is similarly incorrect to use this attribute to hide content just 
from one presentation — if something is marked hidden, it is hidden 
from all presentations, including, for instance, screen readers.

Elements that are not hidden should not link to or refer to elements 
that are hidden.

   For example, it would be incorrect to use the href attribute to link 
to a section marked with the hidden attribute. If the content is not 
applicable or relevant, then there is no reason to link to it.
It would similarly be incorrect to use the ARIA aria-describedby 
attribute to refer to descriptions that are themselves hidden. Hiding a 
section means that it is not applicable or relevant to anyone at the 
current time, so clearly it cannot be a valid description of content 
the user can interact with.
[[
-- 
leif halvard silli

Received on Monday, 23 August 2010 17:27:33 UTC