W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 1998

Re: Identifying D-links with "rel"

From: Jon Gunderson <jongund@staff.uiuc.edu>
Date: Thu, 04 Jun 1998 11:44:21 -0500
Message-Id: <3.0.5.32.19980604114421.009636a0@staff.uiuc.edu>
To: dd@w3.org
Cc: nir dagan <dagan@upf.es>, ij@w3.org, w3c-wai-gl@w3.org, w3c-wai-ua@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


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 12:47:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:46:57 GMT