RE: Proposal: ARIA-ROLE & CSS definition integration

Danni -

I agree. I believe at the very least that there needs to be a mechanism to
link a CSS definition (class, ID, etc.) to an ARIA role (and other ARIA
information that could be applicable to the tag being styled). It simply
makes too much sense, and works too much like the way HTML authors work, to
not do it.

J.Ja

-----Original Message-----
From: Dannii [mailto:curiousdannii@gmail.com] 
Sent: Sunday, June 08, 2008 1:22 AM
To: Justin James
Cc: James Craig; Anne van Kesteren; Leif Halvard Silli;
elharo@metalab.unc.edu; public-html@w3.org; W3C WAI-XTECH; www-tag@w3.org
Subject: Re: Proposal: ARIA-ROLE & CSS definition integration

On Sun, Jun 8, 2008 at 1:36 PM, Justin James <j_james@mindspring.com> wrote:
>
> I think that most HTML authors typically intend for a presentational class
> to only be used in one semantic role, unless it is generic (like someone
> using a class with red, large text to mean "important" and "header" at the
> same time). I think it would be fairly safe to allow the CSS to indicate
the
> semantic role of a definition for that reason, so long as we allow it to
be
> accessed via the DOM *and* specified in the HTML itself.
>
> J.Ja
>

If someone were consistently applying the same aria roles to the same
classes it would be more efficient to combine them together. Lots of
identical attributes is just leaving more room for mistakes. If
separation is a problem then the CSS syntax could be used without
actually putting aria data in the stylesheets.

Received on Monday, 9 June 2008 03:46:49 UTC