W3C home > Mailing lists > Public > wai-xtech@w3.org > November 2009

Re: ARIA roles added to the a element should be conforming in HTML5.

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Tue, 10 Nov 2009 19:17:09 +0100
Message-ID: <4AF9AE25.8090704@xn--mlform-iua.no>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Charles McCathieNevile <chaals@opera.com>, Jonas Sicking <jonas@sicking.cc>, Lars Gunther <gunther@keryx.se>, Shelley Powers <shelley.just@gmail.com>, HTMLWG WG <public-html@w3.org>, W3C WAI-XTECH <wai-xtech@w3.org>
Tab Atkins Jr. On 09-11-10 17.42:

> On Tue, Nov 10, 2009 at 8:40 AM, Charles McCathieNevile
> <chaals@opera.com> wrote:
>>>>> On Thu, Oct 22, 2009 at 9:08 AM, Leif Halvard Silli wrote:
>>>>>> In the spirit of "don't break the Web", the most important question
>>>>>> seems to me be to be "should it work?" Should a <h1> with a
>>>>>> role="button" be presented as a button in accessibility devices?
>> [a few people with known expertise and experiences in accessibility said
>> Yes. I agree with them.]
> 
> Ok.


So, as a result, an H1 element without any interactivity could be 
presented as if it is interactive. That's the downside.

[...]

>> I have been told various times that HTML 5 is about what happens in the real
>> world (indeed, I promote that benefit consistently in my mnay talks on the
>> topic), but I am ready to see the evidence.
> 
> So you're reasonably certain that presenting that <h1> as a button in
> accessibility devices is indeed a good thing for users?  And that
> officially blessing this usage is better than attempting to evangelize
> for more appropriate usage in the first place, obviating the need for
> ARIA?
> 
> (I'm very interested in the answer to this, because I'm assuming that
> one *can* use appropriate elements in the first place - my own
> experience building websites seems to suggest so.  If in practice
> there are indeed important reasons to subvert HTML's default
> semantics, that's information to know about!)

If we want to avoid that H1 elements can be turned into buttons, 
perhaps we should start by making the following non-conforming?

<a href="link"><h1>Heading</h1></a>
-- 
leif halvard silli
Received on Tuesday, 10 November 2009 18:17:51 GMT

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