Re: Question re self-referencing links

Russ Weakley wrote:

> G128: Indicating current location within navigation bars
> http://www.w3.org/TR/2012/NOTE-WCAG20-TECHS-20120103/G128
> 
> Example 3 states:
> 
> "When the link is activated to change the contents of the page, the selected link within the navigation bar is disabled since the result of following this link is the Web page currently being displayed."
> 
> This seems to suggest that any link associated with the current page (whether it appears wrapped around the page heading, or it appears in the primary navigation) should ideally be removed (in the case of page headings where it is not needed at all) or disabled (in the case of navigation where you may still want the item to appear but not as a link), to avoid confusion and help users determine their location.

You could also consider exposing the links as a set of tabs in a tablist, with @aria-selected on the current page’s item.

Received on Wednesday, 14 March 2012 16:56:59 UTC