Re: Using ARIA to override semantics

Jonas Sicking, Mon, 21 Mar 2011 14:51:14 -0700:
> On Mon, Mar 21, 2011 at 1:46 PM, Steve Faulkner wrote:

>> aren't the CSS hooks based on the tag/attribute names etc in the DOM?
> 
> No. The specs defer to the host language and says things like:
> 
> "The document language determines which elements are hyperlink source
> anchors" [1]
> 
> and
> 
> "What constitutes an enabled state, a disabled state, and a user
> interface element is language-dependent" [2]

Just a side note to Steve: If @longdesc would have make <img> 
*interactive*, then img:link{} would select it. Just as that selector 
already selects an img element with a @target attribute. So clearly, 
@longdesec does not make <img> interactive.

> [1] http://www.w3.org/TR/CSS21/selector.html#link-pseudo-classes
> [2] http://www.w3.org/TR/css3-selectors/#enableddisabled
-- 
leif halvard silli

Received on Monday, 21 March 2011 22:14:11 UTC