Video embed

OverviewStyleGuidelinesCodeAccessibilityDemos

Keyboard interactions

Users should have the ability to move focus to a video embed element and play the video using the keyboard.

Screenshots of a video embed showing a darkened play button on focus
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.

View APG resources

Web Content Accessibility Guidelines

Understanding documents provide detailed explanations for Web Content Accessibility Guidelines (WCAG) guidelines and success criteria.