- From: nir dagan <dagan@upf.es>
- Date: Thu Jun 4 14:11:31 1998
- To: jongund@staff.uiuc.edu
- Cc: w3c-wai-gl@w3.org
> > So the consensus is that class is really better than rel and we pick > something like "wai-dlink" as a reserved class name? > Jon > IMHO, the Dardailler-Ragget correspondence did not address specifically the notion of "reserved class name" to be used by user agents. Actually, Ragget suggested that he wouldn't stick to an identical interpretation of rel for LINK and A. Taking Ragget (and not the spec.) as the expert on the meaning of rel, it seems that rel is better since "conventions" on the meaning of its value are recognized (also by the spec.) Regards, Nir Dagan. > > At 04:34 PM 6/4/1998 +0200, Daniel Dardailler wrote: > > > >> What is the advantages of using "rel=dlink" over "class=dlink" for > >> providing a mechanism for UAs to identify a D-Link ? > >> Jon > > > >Responding to messages from Nir and Jon. > > > >Bottom line: class is better than rel, because it's supported by css1. > > > >After Nir sent his message, I sent this message to the W3C HTML staff. > > > > > >| For WAI, we'd like to be able to mark a particular type of link as > >| being a long description for an image. > >| > >| First we though about > >| > >| <IMG SRC=foo ALT=bar> <A CLASS=dlink HREF=foo> D </A> > >| > >| but then we said, why not use REL instead, which seems more specific: > >| > >| <IMG SRC=foo ALT=bar> <A REL=dlink HREF=foo> D </A> > >| > >| but someone said rel is for a relation between the current *document* > >| and the target, not the current element (that would be the A here) > >| > >| From HTML4: > >| A.rel = link-types [CI] > >| This attribute describes the relationship from the current document to > >| the anchor specified by the href attribute. The value of this > attribute > >| is a space-separated list of link types. > >| > >| I understand REL for LINK is for the current document, but why is REL > >| for A for the whole document as well ? > >| > > > >and Dave Raggett said: > > > > > >| The formal model (after Dexter) is that of a source anchor and > >| destination anchor. For LINK the source anchor is the document, > >| while for A it is the element. You could still use the REL attribute > >| as in your second example, since the type of the link is associated > >| in this case with the semantics that the element follows an image > >| element and references information that pertains to it. > >| > >| On a practical note, CSS1 can't match against the value of the REL > >| attribute, so if that is important, you may want to use the CLASS > >| attribute to allow you to style such anchors. This is not a problem > >| for CSS2, though, which can match REL attributes. > > > > > Jon Gunderson, Ph.D., ATP > Coordinator of Assistive Communication and Information Technology > Division of Rehabilitation - Education Services > University of Illinois at Urbana/Champaign > 1207 S. Oak Street > Champaign, IL 61820 > > Voice: 217-244-5870 > Fax: 217-333-0248 > E-mail: jongund@uiuc.edu > WWW: http://www.staff.uiuc.edu/~jongund > http://www.als.uiuc.edu/InfoTechAccess >
Received on Thursday, 4 June 1998 14:11:31 UTC