Currently, the module does not support the addition of a title attribute for the iframe it generates, which is necessary for WCAG 2.0 A compliance. See https://www.w3.org/TR/WCAG20-TECHS/H64.html (particularly the related success criteria) for more details.

Patch to follow that adds this feature.

Comments

davidwatson created an issue. See original summary.

alexiswatson’s picture

Status: Active » Needs review
StatusFileSize
new2.15 KB

Patch attached. Review and feedback welcome!

alexiswatson’s picture

StatusFileSize
new5.44 KB

Previous was munged, disregard.

alexiswatson’s picture

StatusFileSize
new3.07 KB

Once more, with feeling...

mforbes’s picture

The docblocks also want to be patched...

shortcode_video_macro_process
* <iframe width="420" height="315"

_shortcode_video_get_youtube_videoid
* <iframe width="420" height="315" src="http://www.youtube.com/embed/EJu8ihVdygY?rel=0" frameborder="0" allowfullscreen></iframe>

Other than that, looks solid.

alexiswatson’s picture

StatusFileSize
new3.91 KB

Updated documentation. One more for RTBC?

andrewmacpherson’s picture

Issue tags: -a11y

Tag clean up: "accessibility" is the preferred one. I know this issue is for a contrib module, but the "a11y" tag doesn't have many issues so I'm moving them all to "accessibility". This is so the core accessibility maintainers don't have to monitor two tags.

denes.szabo’s picture

@davidwatson thanks for the patch!

denes.szabo’s picture

Status: Needs review » Fixed
denes.szabo’s picture

Status: Fixed » Closed (fixed)