Video embed
On this page
Keyboard interactions
Users should have the ability to move focus to a video embed element and play the video using the keyboard.
Key | Result |
---|---|
Tab | Moves focus to video |
Enter | Plays the video |
Additional guidelines
- The iframe element should use the video title in its title attribute
- The play button text should use the video title, followed by the type of video in parentheses, i.e. "(YouTube video)"
- The thumbnail image should have alt text that describes the image, followed by "(video thumbnail)"
- The YouTube embed should have accurate captions. Autogenerated captions by YouTube are not sufficient
- Read more on audio/video accessibility
ARIA Authoring Practices Guide (APG)
Learn to use the accessibility semantics defined by the Accessible Rich Internet Application (ARIA) specification to create accessible web experiences.
Web Content Accessibility Guidelines
Understanding documents provide detailed explanations for Web Content Accessibility Guidelines (WCAG) guidelines and success criteria.
-
SC 1.2.2 Captions (prerecorded) (Level A)
-
SC 1.2.3 Audio description or media alternative (prerecorded) (Level A)
-
SC 1.2.4 Captions (live) (Level AA)
-
SC 1.2.5 Audio description (prerecorded) (Level AA)
-
SC 1.3.1 Info and relationships (Level A)
-
SC 1.4.1 Use of color (Level A)
-
SC 2.1.3 Keyboard (no exception) (Level AAA)
-
SC 2.4.7 Focus visible (Level AA)
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.