Skip to content

Avoid repeating duplicate links for screen readers on search page, recommended lists pages, poll pages, etc.#1376

Open
alice-blue wants to merge 6 commits into
iftechfoundation:mainfrom
alice-blue:aria-hidden-on-duplicate-links
Open

Avoid repeating duplicate links for screen readers on search page, recommended lists pages, poll pages, etc.#1376
alice-blue wants to merge 6 commits into
iftechfoundation:mainfrom
alice-blue:aria-hidden-on-duplicate-links

Conversation

@alice-blue

@alice-blue alice-blue commented May 28, 2026

Copy link
Copy Markdown
Contributor

IFDB has lists of games with a cover art link beside a game title link, and with both links leading to the same destination. This kind of thing can cause redundancy for screen readers:

Otherwise what happens is when you’re browsing you hear “Cover of foo, graphic link” and then “foo” when you move to the next item which is the plain text link. Ideally you only want to hear one of those, the other is extraneous.

(Discussed here)

Right now, it looks like the alt text is set to "" for the thumbnails, but according to Webaim.org :

When an image is the only content inside a link or button, alt text is all that a screen reader has to go on. If it’s empty or missing, screen readers might read the image filename or the URL of the linked page in hopes that this may be helpful to the user, but this is not always the case.

As suggested by an IFDB user and this page, one way of addressing this is to use aria-hidden="true" tabindex="-1 on the anchor element of the image link.

This PR make this change for:

  • the search page
  • recommended lists
  • the poll page
  • the allnew?reviews page
  • browsing members on the browse page
  • cross-recommended games on the viewgame page

This PR partly addresses #1377.

…on't hear the same link twice in a row (image and title)
…er art links so screenreader users don't hear the same link twice in a row (image link, then title link)
… links and avoid reading the url of the image link
@alice-blue alice-blue changed the title Avoid repeating duplicate links for screen readers on search page and recommended lists Avoid repeating duplicate links for screen readers on search page, recommended lists pages, and poll pages May 30, 2026
… image links rather than having the screenreader announce the image URL
…ended games instead of having screen readers announce the url
@alice-blue alice-blue changed the title Avoid repeating duplicate links for screen readers on search page, recommended lists pages, and poll pages Avoid repeating duplicate links for screen readers on search page, recommended lists pages, poll pages, etc. May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant