[wp-trac] [WordPress Trac] #38678: Video Headers: Improve Basic Accessibility

WordPress Trac noreply at wordpress.org
Wed Nov 16 01:48:27 UTC 2016


#38678: Video Headers: Improve Basic Accessibility
------------------------------------+----------------------------
 Reporter:  davidakennedy           |       Owner:  joemcgill
     Type:  defect (bug)            |      Status:  assigned
 Priority:  normal                  |   Milestone:  4.7
Component:  Themes                  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  accessibility
------------------------------------+----------------------------

Comment (by davidakennedy):

 Just to close a loop – I also replied in Slack, but yes @joemcgill, no
 styles are perfect. That way, we don't get in a themer's way.

 Thanks for bringing up the description @rianrietveld! I've been thinking
 about this a bit.

 > Also a point of discussion that came up in the wpa11y meeting:
 > If the video is not used for decoration only, it probably needs a
 description.
 > Should there be an option to add a description?
 > Is this something to be added to this theme or left for child themes/
 adjusted themes.

 Currently, a theme can use `the_custom_header_markup()` to get the basic
 markup for the video header. It's possible though for a theme to do its
 own implementation, so themes should be able to alter things, inserting a
 description of its own or pulling one from WordPress in some way.

 One idea is to make the `the_custom_header_markup()` output one if a user
 adds text to the description field in the media library for the file. We
 may be able to pull in some data from YouTube about a video description
 for those types of video headers. In this way, Core could have a good
 example to point to, and it's something the accessibility team could
 provide education around.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38678#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list