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

[Bug 12243] Warn when ARIA-describedby/-labelledby points to interactive/form associated content

From: <bugzilla@jessica.w3.org>
Date: Tue, 22 Mar 2011 18:19:17 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Q26An-0003m3-0J@jessica.w3.org>

--- Comment #5 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-03-22 18:19:16 UTC ---
(In reply to comment #2)

Through some off-bugzilla debate, I believe I have some better answers:

> As comment 0 states, even the people on the HTML WG (me included) made the
> mistake of thinking that this was allowed. Given that the vast majority of the
> documents on the web does not pass a HTML validator without errors, I think we
> can safely assume adding another error to the validation will leave a vast
> majority of documents unaffected.

The basis for this bug is the the assumption that idrefs of anchor elements
will be *especially*  useless to use inside aria-describedby. Texts like 
"please visit this page" are hardly useful as description of anything  inside
the page within which the link is situated.

So the bug report is not based on the belief that authors will be especially
prone to include idrefs of links inside aria-describedby and aria-labelledby.
It is instead based on what is likely to be useful to the AT user. 

Also, I do think that we should at least please avoid that authors get the
wrong ideas. It is enough to take @longdesc as example: Had the W3 HTML4
validator had URL valdiation, then misunderstanding that some developed (namely
the belive it could contain text) would not have affected the HTMLwg in its
work with speccing HTML5. 

The fact that HTML5 includes URL validation for all *valid* attributes that can
take URLs, is a sign which shows that there is faith in performing attribute
value validation. 

Meanwhile, the kind of warning I suggest for aria-describedby is not a normal
error warning, but ratheer a "this is probably wrong" kind of warning.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 22 March 2011 18:19:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:44 UTC