Skip to content

Fix adjacent links in author's cell and make styling consistent#15228

Merged
alecslupu merged 2 commits intodevelopfrom
fix/a11y/author-cell-links
Oct 7, 2025
Merged

Fix adjacent links in author's cell and make styling consistent#15228
alecslupu merged 2 commits intodevelopfrom
fix/a11y/author-cell-links

Conversation

@andreslucena
Copy link
Copy Markdown
Member

@andreslucena andreslucena commented Sep 25, 2025

🎩 What? Why?

There's an accessibility problem with the current Author cell, where there are two adjacent links that point to the same resource: the profile page of the author.

This PR fixes it by making these links the same link.

This is related with #15197, although complementary: on that case the problem is that the focus isn't visible when the layout is :avatar. On this case I saw the problem both with :default and :compact layouts.

📌 Related Issues

Testing

  1. Go to a page with profile links with author's avatar and name.
  2. Tab on these elements (mind that without Fix focus with tab navigation on small avatar images #15197 the focus on the avatar isn't visible)
  3. Apply this patch
  4. See that the focus is correct and you only have one link

📷 Screenshots

Before

image

After

image

♥️ Thank you!

Copy link
Copy Markdown
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@alecslupu alecslupu added release: v0.29 Issues or PRs that need to be tackled for v0.29 release: v0.30 Issues or PRs that need to be tackled for v0.30 release: v0.31 Issues or PRs that need to be tackled for v0.31 labels Oct 7, 2025
@alecslupu alecslupu merged commit 8e582ea into develop Oct 7, 2025
90 of 94 checks passed
@alecslupu alecslupu deleted the fix/a11y/author-cell-links branch October 7, 2025 06:44
MariaDascaluPublicis pushed a commit to i-need-another-coffee/decidim that referenced this pull request Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: core project: 2025-NGI release: v0.29 Issues or PRs that need to be tackled for v0.29 release: v0.30 Issues or PRs that need to be tackled for v0.30 release: v0.31 Issues or PRs that need to be tackled for v0.31 team: accessibility type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WCAG: Adjacent links to the same resource at contributor listing

2 participants