Skip to content

Conversation

@Dananji
Copy link
Collaborator

@Dananji Dananji commented May 22, 2025

Remove radiogroup/radio role relationship introduced in #820 for transcript cues as this could introduce role relationship errors similar to annotations component (#811) in the future. E.g. cues with links embedded in them could lead to a break in accessibility as they are presented within a parent container which has the role="radio".

Changes included in the PR:

  • make only the timestamp portion of the cue clickable with role="button", therefore only highlighting the timestamp on hover events
  • add additional keyboard and click event handling to untimed cues as these are now presented as focus-able plain text elements

Copy link
Member

@cjcolvar cjcolvar left a comment

Choose a reason for hiding this comment

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

Looks good!

@Dananji Dananji force-pushed the transcript-a11y-fixes branch from ebb4899 to 1a5e9d3 Compare May 27, 2025 18:25
@Dananji Dananji merged commit 07c656f into main May 27, 2025
2 checks passed
@Dananji Dananji deleted the transcript-a11y-fixes branch May 27, 2025 18:34
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