Skip to content

Removed the link role from the index table#2844

Merged
pablobm merged 1 commit intomainfrom
di-accessibility-fix-role
Jun 6, 2025
Merged

Removed the link role from the index table#2844
pablobm merged 1 commit intomainfrom
di-accessibility-fix-role

Conversation

@pangolingo
Copy link
Copy Markdown
Contributor

Each row of the collection table had a role=link attribute, which was removing the default "row" role. This caused screen readers to ignore all of the table's rows. Removing the attribute resolves this issue.

Each row of the collection table had a `role=link` attribute, which was removing the default "row" role. This caused screen readers to ignore all of the table's rows. Removing the attribute resolves this issue.
@pangolingo pangolingo mentioned this pull request May 2, 2025
4 tasks
Copy link
Copy Markdown

@enatario enatario left a comment

Choose a reason for hiding this comment

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

Nice!

Copy link
Copy Markdown
Collaborator

@pablobm pablobm left a comment

Choose a reason for hiding this comment

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

Should we hold this one off until the conversation at #2843 is resolved? The conversation about how to make links accessible.

@pangolingo
Copy link
Copy Markdown
Contributor Author

@pablobm I recommend merging this PR as sooner because it's make the table literally unusable to some people. Are you or @nickcharlton aware of a reason that removing this role would break anything? I don't really have any context on the history.

Copy link
Copy Markdown
Collaborator

@pablobm pablobm left a comment

Choose a reason for hiding this comment

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

Apologies, you are right. I mixed some stuff up in my head. I think we should merge then 👍

@pablobm pablobm merged commit f728741 into main Jun 6, 2025
27 checks passed
@pablobm pablobm deleted the di-accessibility-fix-role branch June 6, 2025 15:03
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.

3 participants