David R wrote:
Andy Kirkwood | MOTIVE wrote:

I have come across a couple of instances of this where headings have been enclosed in an anchor, i.e.

   <a name="anchor" id="anchor"><h1>Heading text</h1></a>

This causes the text colour of the heading to change when moused-over (although not a link). From an interface perspective this can be quite confusing. (A feedback cue that suggests interaction is possible when it is not).

This is why a:link:hover and a:visited:hover are preferable over simple a:link


:)

Maybe I've missed some standards or accessibility point, but I'm accustomed to coding as follows:


<h2><a name="" id=""></a>Some heading</h2>

Jumping works like a charm, and no hyperlink behaviour other than that ever shows up. Afaik, there are no problems with this method whatsoever, plus you don't rely on CSS to prevent a particular GUI behaviour.

Jeroen

--
vizi fotografie & grafisch ontwerp - http://www.vizi.nl/

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to