WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Embedded You Tube Video Play and WCAG 2.0 Compliance

for

From: Gijs Veyfeyken
Date: Nov 9, 2015 8:38AM


Hi,

YouTube changes it's code frequently.
Enhancing it or making it less accessible.
Either way, you have no control over it.

A more robust solution is to use a third-party player to embed you're YouTube-video with.
The native inaccessible controls are hidden and replaced by keyboard and screenreader friendly HTML controls.

2 examples with YouTube support:

Able player (Terrill Thompson)
http://ableplayer.github.io/ableplayer/tests/index.html

Plyr (Sam Potts)
https://plyr.io

Kind regards,

Gijs

---
Gijs Veyfeyken
AnySurfer - towards an accessible internet
http://www.anysurfer.be/en
Brussels - Belgium