Skip to content

Conversation

@Faraz32123
Copy link

Ticket: TNL2-405
This PR fixes accessibility issue for video transcripts as when a video component's SRT file has an empty line, the transcript has an empty link that is still interactive.

Empty links should not be interactive and should be hidden from keyboard users as it takes extra click for them when an empty line occurs in the transcript.
Upstream PR: openedx#37587
Before:

before.mov

After:

after.mov

Copilot AI review requested due to automatic review settings October 31, 2025 11:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds CSS styling to hide empty subtitle menu items in video blocks. The change ensures that subtitle menu items containing empty spans are not displayed to users.

  • Adds a CSS rule to hide subtitle menu items with empty content spans

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Faraz32123 Faraz32123 merged commit c523a5d into release-ulmo Oct 31, 2025
70 checks passed
@Faraz32123 Faraz32123 deleted the fix/accessibility_issue_on_video_transcripts_for_edx branch October 31, 2025 11:51
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