w3c / wai-easy-checks

8 stars 36 forks source link

Video card is currently rendering two images without alt text -- Can't access player with screen readers #231

Closed daniel-montalvo closed 9 months ago

daniel-montalvo commented 11 months ago

Refs:

This code is currently rendering two images without alt text. Presumably one for the video thumbnail and another one for the play button.

<div class="video-card">
      <img class="video" src="https://i.ytimg.com/vi_webp/IZp8eUAu450/maxresdefault.webp">
      <img class="play-button" src="https://www.starpng.com/public/uploads/preview/red-play-button-png-101576847279kuxmycuxzj.png">
  </div>

I cannot access the player buttons with my screen reader.

I am not sure where this is coming from though. Is this the expected behavior?

iadawn commented 9 months ago

Video card was previously just a placeholder. This has now been replaced with the correct embedded video code