Re: css abuse (2)

At 08:08 PM 9/28/99 -0400, Leonard R. Kasday wrote:
>Here's the question that came up in todays conf call.
>
>Lets say an author defines some id's like
>
>"old"
>
>"new"
>
>and then sets up a style sheet to color text corresponding to "new" and
"old".
>
>You then have color used for meaning, violating wcag.
>
>Say you want to do the right thing, and assign a meaning to these id's,
>something like titles or captions.  Ideally this would be a declaration
>assigning titles to id's.  But I don't see anything like that in CSS. 
>
>You could kluge something by putting descriptive text at each instance, and
>making it invisible or visible depending on the style sheet, but is there
>any good sway to do it?
>
AG:

As Marja said, RDF has capability in this direction.

The practice I am trying to get people to consider for this purpose is to
include the definitions of CLASS values in a resource which is pointed to
by the PROFILE reference in a META element in the HEAD of the document.

In particular, suppose you want to use Dublin Core definitions for
publishing attributes and Modern Language Association definitions for the
classes of text that are used in deriving style distinctions.  HTML 4
doesn't know what to do with a second PROFILE reference, so a separate
glossary of markup terms written in RDF would be a good way to make the
usage in the current document clear.

Al

>Or does CSS make it easy to set up visual styles but impossible to directly
>assign meaning to them to them?
>
>Len
>-------
>Leonard R. Kasday, Ph.D.
>Institute on Disabilities/UAP, and
>Department of Electrical Engineering
>Temple University
>
>Ritter Hall Annex, Room 423, Philadelphia, PA 19122
>kasday@acm.org        
>(215) 204-2247 (voice)
>(800) 750-7428 (TTY)
> 

Received on Wednesday, 29 September 1999 08:22:39 UTC