Improve player link description for screen readers #771
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously, the
alt
tag was read, which doesn't convey the correct information for screen readers (somewhat implying that it links to the thumbnail, and not the video itself). Now it reads something like "Video page: {title}".For now, this is only for the sidebox. We might want to consider doing a similar thing inside the series blocks, though there it's not as straightforward as with the sidebox link.
Also, "video" might not be the best term to use, as the events could be audio-only files. But we use "video" everywhere else, so if we use a different term, it should be updated everywhere, and I'm not sure which term would be best (probably something along the lines of "event", but that could also mean so many other things). I guess it's best to stick with "video" for now.
Fixes #661