The link text "Exercises" has already been used to ..

Discussion about accessibility related issues, including WCAG and US Government Section 508 federal standards.
Post Reply
gmgj
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 4
Joined: Tue Feb 09, 2016 10:59 am

The link text "Exercises" has already been used to ..

Post by gmgj » Fri Feb 15, 2019 8:59 am

I am evaluating http://pbaclouda.com for accessibility problems. Please note, this is one of these Virtual Host Sites were multiple urls and redirected to the same code base. (example http://draarondixonblog.com/) I get a number of these type errors:

Error in line 475 at character 128: (Accessibility->WCAG 2.0 (Level A)) The link text "Exercises" has already been used to link to a different resource (http://www.pbaclouda.com/category/exercises). If more than one link on a page shares the same link text, then those links should point to the same resource to avoid user confusion. If two or more links refer to different resources but share the same link text, then specify unique values for the "title" attributes of each "a" element to distinguish the links. Visit https://www.w3.org/TR/WCAG20-TECHS/H30 for more information. [A, 1.1.1; H30] [A, 2.4.4; H30] [AAA, 2.4.9; H30].

In this case, I believe at least one issue is a bug. Both the links point to http://www.pbaclouda.com/category/exercises/. One link is in the menu and one link is in the sidebar on the right. I do not have the knowledge about accessibility to talk about having the same link multiple times, but, the "same resource" warning is off.
One link is
<li class="menu-item menu-item-type-taxonomy"><a href="http://www.pbaclouda.com/category/exercises">Exercises</a></li>
This is the other
<li class="cat-item"><a href="http://www.pbaclouda.com/category/exercises/" title="View all posts filed under Exercises">Exercises</a></li>

Perhaps for accessibility, I should have the same title="View all posts filed under Exercises". for both links.

Version Pro Editor v19.0013

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3397
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: The link text "Exercises" has already been used to ..

Post by Albert Wiersch » Mon Feb 18, 2019 1:28 pm

Hello,

I'm sorry for the delay.

Technically those are different links because one ends in a slash and one doesn't. If you make them both end in a slash or both not end in a slash then it should fix the accessibility error. Typically, if this is referencing the default file in an "exercises" folder on the server then the link should end in a slash.

I hope this helps! Please let me know if you have any more questions.
Image
Albert Wiersch

Post Reply