Skip to content

Conversation

pangolingo
Copy link
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

@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
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
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
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