4

Video element exposes unnamed graphic and button

 2 years ago
source link: https://bugzilla.mozilla.org/show_bug.cgi?id=1727294
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Details

(Keywords: access, Whiteboard: [access-s3][lang=html][lang=js])

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Firefox's implementation of the video element exposes an unnamed graphic (used to render the poster image, regardless if one is specified or not) and an unnamed button (initial CTA play button rendered atop the video).

CodePen of various video elements
https://codepen.io/scottohara/full/bGWRMBj

Using Firefox with VoiceOver on macOS, navigate using the VO cursor (VO key + right arrow) through the video elements in the test page provided.

Or, if on a PC, use a screen reader of your choice and navigate the test page. NOTE: based on your screen reader's settings, the unnamed image may be ignored by the screen reader.

Actual results:

When navigating through the video elements, VoiceOver will encounter the unnamed image in each video element instance.

Navigating to each initial large "Play" button that is rendered atop the video instance will be announced without an accessible name (VoiceOver), or will be announced as "unlabeled zero button" (with JAWS 2021).

Expected results:

Since there is presently no way to specify alternative text for a poster graphic, this graphic should be hidden from the accessibility tree.

Regarding the unnamed button, provide it an accessible name of "Play", as has been done with the Play button that is part of the video players control toolbar.


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK