goldilocks icon indicating copy to clipboard operation
goldilocks copied to clipboard

"View only this namespace" links should be unique

Open thewildmage opened this issue 3 years ago • 0 comments

What happened?

The namespace.gohtml template, used to show the contents and details of any given namespace, includes a link that says "View only this namespace." It's possible that this link shows up multiple times on a single page, but navigates out to an entirely different view.

This is especially problematic in the context of screen readers. One useful feature of these tools is the ability to surface a list of all links on a page. Someone who used this functionality now would get back a repetitive and unhelpful list.

See Understanding Success Criterion 2.4.9: Link Purpose (Link Only) from version 2.1 of the Web Content Accessibility Guidelines for more information about why this is important and beneficial to fix.

What did you expect to happen?

The text of these links should all be unique. Adding the namespace's name would achieve that goal while providing additional clarity.

The new link text could be something like:

Limit results to the {{ $.Namespace }} namespace

How can we reproduce this?

All versions since v3.1.0 are affected by default. There are no steps necessary to reproduce beyond just "use Goldilocks."

Version

v3.1.0

Search

  • [X] I did search for other open and closed issues before opening this.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Additional context

No response

thewildmage avatar Aug 16 '22 19:08 thewildmage