W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2012

Recursive Links in menu bars

From: Jan Eric Hellbusch <hellbusch@2bweb.de>
Date: Sun, 16 Sep 2012 17:14:57 +0200
To: <w3c-wai-ig@w3.org>
Message-ID: <001f01cd941e$08a89c90$19f9d5b0$@2bweb.de>
Hi all,

recently I had a discussion with somebody about recursive links in menu
bars. We were talking about static pages and identifying the current item in
the menu bar. At the simplest level we are talking about the following

<ul id="nav">
<li><a href="#">page 1</a></li>
<li><a href="#"><span class="sr">Current page: </span>Page 2</a></li>


<ul id="nav">
<li><a href="#">Page 1</a></li>
<li><strong><span class="sr">Current page: </span>Page 2</strong></li>


* Visual ques are expressed in CSS. The currently displayed item in the menu
bar is visually highlighted with standard color settings and in contrast
* It is unclear whether the current item should be a link or not.

There is now success criterion in WCAG 2.0 to clarify the question, but in
the best practice technique 
the third example presents a possibility.

I would be interested to know how others go about the matter. Should menu
items that refer to the current page be linked or not? Are there pros or
cons with respect to accessibility or usability (in general), or are there
other (e.g. technical) reasons?


Jan Eric Hellbusch 
Tel.: +49 (231) 86436760 oder +49 (163) 3369925
Web: http://2bweb.de     Twitter: www.twitter.com/2bweb
Das Buch über barrierefreies Webdesign:
"Barrierefreiheit verstehen und umsetzen - Webstandards für ein zugängliches
und nutzbares Internet"
812 Seiten, Dpunkt Verlag (2011)
Received on Sunday, 16 September 2012 15:15:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:41 UTC