[Bug 11557] Authors should not be allowed to specify roles on elements that they already have by default

https://www.w3.org/Bugs/Public/show_bug.cgi?id=11557

Charles Pritchard <chuck@jumis.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chuck@jumis.com

--- Comment #40 from Charles Pritchard <chuck@jumis.com> 2012-03-13 00:08:22 UTC ---
(In reply to comment #33)
> <button role=button aria-pressed=true> should not do anything different than
> <button aria-pressed=true> according to the ARIA spec as far as I can tell
> (that's what the "implicit semantics" stuff is all about!). If it does, ARIA
> should be fixed.

Ian, you're misunderstanding the role of ARIA in the DOM. Redundant ARIA is
really helpful for supporting existing ATs and it's quite handy for exposing
data easily with JS libraries. Your optimization ideas and exclusions for ARIA
are not fully implemented nor are they something that we can use, in practice,
as authors targeting a broad range of DOM consumers.

If you want to define strict ARIA, do it in something like a CSS namespace.
button { role: button; }

In CSS, the allowed roles would be defined.
In DOM, it's free form for a reason.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 13 March 2012 00:08:28 UTC