W3C home > Mailing lists > Public > wai-xtech@w3.org > August 2010

Re: ISSUE 30 @longdesc use cases

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 23 Aug 2010 16:52:46 -0700
Message-ID: <AANLkTimRkwETiw8cXJeuj_FotkXHGn=w8q75L7euOmN8@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Joshue O Connor <joshue.oconnor@cfit.ie>, HTML Accessibility Task Force <public-html-a11y@w3.org>, HTML WG <public-html@w3.org>, W3C WAI-XTECH <wai-xtech@w3.org>, Barry McMullin <barry.mcmullin@dcu.ie>, Laura Carlson <laura.lee.carlson@gmail.com>
On Mon, Aug 23, 2010 at 4:14 PM, Ian Hickson <ian@hixie.ch> wrote:
> On Mon, 23 Aug 2010, Jonas Sicking wrote:
>> >
>> > Elements that are not hidden should not link to or refer to elements
>> > that are hidden.
>>
>> This, however I don't agree with. Why should this not be permitted? What
>> problem is solved by forbidding this?
>
> It solves the problem of someone accidentally linking to a section that is
> hidden (which they obviously wouldn't do on purpose, since the hidden
> section is by definition irrelevant, so linking to it would be pointless),
> and then realising their mistake when the validator points it out.
>
> In your suggestion, the text is not irrelevant. It's very relevant.

This is somewhat circular reasoning. You're saying that it's obviously
a mistake to link to inside a @hidden subtree because it's disallowed.
And it's disallowed because we want to help people find that mistake.

Why not explicitly define that elements can still refer to to parts of
a document can refer to elements inside a @hidden subtree? I.e. define
that @hidden just makes part of the document irrelevant to the normal
flow of the page.

This is effectively how implementations work anyway, the elements are
still in the DOM, and have all the usual effects there. The elements
are just taken out of the flow, screen readers skipping the element
when reading a page, and rendering UAs don't render the element.

Given that referring to elements inside a @hidden subtree using IDREFs
will work in implementations (and as I understand it, are required by
spec to work), it seems very likely that people will use this
mechanism. So what problem is solved by forbidding it?

/ Jonas
Received on Monday, 23 August 2010 23:53:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 13:16:09 GMT