WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 5 months ago

Last modified 5 months ago

#47262 closed feature request (worksforme)

WCAG 2.1 Guidelines for Video

Reported by: nkoger97 Owned by:
Milestone: Priority: normal
Severity: major Version: 5.2
Component: Embeds Keywords:
Focuses: accessibility Cc:
PR Number:

Description

At colleges and universities using WordPress, we legally must comply with ADA guidelines. With the new WCAG 2.1 Guidelines, videos must contain a description within the html before the embedded content. Videos must have:
<H1> Heading <H1>
<iframe title= "detailed video description" src="....." />

Is there any way to add a description field when uploading video that'll be embedded before the source is listed?

Change History (7)

#1 @xavortm
7 months ago

I Couldn't find the source of this requirement mainly due to the <h1> you've posted above. Is this something you consider required to have before the video? Because if that's the case, then you would have more then one h1 tag on page which have more than one video + it just doesn't make sense to me.

All else found was for the title attribute https://www.w3.org/WAI/WCAG21/Techniques/html/H64
And also one more finding - http://davidmacd.com/blog/is-title-attribute-on-iframe-required-by-wcag.html there is "Rationale" near the end for tldr;

#2 @SergeyBiryukov
7 months ago

  • Focuses accessibility added

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.


5 months ago

#4 follow-up: @afercia
5 months ago

  • Keywords reporter-feedback added

@nkoger97 thanks for your ticket and welcome to Trac!

WordPress 5.2 introduced a change (see https://core.trac.wordpress.org/changeset/44942) to make sure embed iframes have a title attribute. There's also a new filter oembed_iframe_title_attribute that allows to modify the title. Is that what you were looking for?

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.


5 months ago

#6 @afercia
5 months ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Discussed during today's accessibility bug scrub and agreed to close this ticket. WordPress has now a feature that seems to cover what is asked for. Discussion can continue also on closed tickets!

#7 in reply to: ↑ 4 @nkoger97
5 months ago

Replying to afercia:

@nkoger97 thanks for your ticket and welcome to Trac!

WordPress 5.2 introduced a change (see https://core.trac.wordpress.org/changeset/44942) to make sure embed iframes have a title attribute. There's also a new filter oembed_iframe_title_attribute that allows to modify the title. Is that what you were looking for?

Yes! Thank you for the update

Note: See TracTickets for help on using tickets.