Re: Using ARIA to override semantics

thanks tab,

that doesn't happen and agree it shouldn't happen.

aren't the CSS hooks based on the tag/attribute names etc in the DOM?

you can have styles associated using the aria attribute names, but
that has nothing to do with their function only that they are
recognised bits in the DOM right?

so you can do
a[role] {
color : red ;

but that is no different from doing

a[hreflang] {
color : blue ;

the semantics of the attribute makes no difference right?

or is use of role/aria-* soemthing that should not be allowed?


On 21 March 2011 13:20, Tab Atkins Jr. <> wrote:
> On Mon, Mar 21, 2011 at 1:11 PM, Steve Faulkner
> <> wrote:
>> hi henri,
>> "In particular, the presence of
>> ARIA attributes MUST NOT affect CSS pseudoclass matching"
>> can you provide a code example that illustrates this?
>> I am having problems wrapping my head around what you mean.
> For example, role=link making an element match :link, or aria-invalid
> making an element match :invalid.
> ~TJ

with regards

Steve Faulkner
Technical Director - TPG | |
HTML5: Techniques for providing useful text alternatives -
Web Accessibility Toolbar -

Received on Monday, 21 March 2011 20:47:37 UTC