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

Re: CP, ISSUE-30: Link longdesc to role of img [Was: hypothetical question on longdesc]

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Wed, 21 Mar 2012 10:08:48 +0000
Message-ID: <CAEhSh3fe7A5PisGe99E6GDp6jd8iRUPsbJ3fjqU3Si5jdi=uNA@mail.gmail.com>
To: Charles Pritchard <chuck@jumis.com>
Cc: John Foliot <john@foliot.ca>, Silvia Pfeiffer <silviapfeiffer1@gmail.com>, David Singer <singer@apple.com>, janina@rednote.net, "'xn--mlform-iua@målform.no'" <xn--mlform-iua@xn--mlform-iua.no>, rubys@intertwingly.net, laura.lee.carlson@gmail.com, mjs@apple.com, paul.cotton@microsoft.com, public-html-a11y@w3.org, public-html@w3.org
On Wed, Mar 21, 2012 at 7:55 AM, Charles Pritchard <chuck@jumis.com> wrote:
> On 3/20/2012 11:18 PM, John Foliot wrote:
>>
>> This is the very same reason why aria-describedby cannot point to "hidden"
>> text, as it too will be flattened to the same string text, using the same
>> computational rules.
>
>
> Can we get by with aria-describedby pointing to an embedded image tag?
>
> <video poster="poster.jpg" aria-describedby="poster"
> longdesc="videolongdesc.html" aria-label="My video">
> <a href="videolongdesc.html" title="My Video"><img id="poster"
> src="poster.jpg" longdesc="posterlongdesc.html" alt="My Poster" /></a>
> </video>
>
> We're pointing aria-describedby at an element with special semantics: img
> @longdesc, and it's not a display: none/@hidden element,
> so we're not violating any laws there... though I would have no expectation
> that the img could gain focus as fallback for video.

I think that is not going to work since:

1. Image descriptions need to accessible via mainstream browser UI and
ARIA is being implemented as an AT-only access mechanism.

2. Under the recent edits PFWG has been making, non-rendered fallback
for <video> would arguably fall under "Elements, including their
descendents, that have host language semantics specifying that the
element is hidden, such as CSS display:none or visibility:hidden or
HTML 5 hidden attribute". ("hidden" is not properly defined here ...
I've provided some feedback requesting it be defined.) Consequently
the @longdesc link would not be accessible even to AT.

    http://www.w3.org/WAI/PF/aria-implementation/#exclude-elements

--
Benjamin Hawkes-Lewis
Received on Wednesday, 21 March 2012 10:09:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:31 UTC