[wp-trac] [WordPress Trac] #38678: Video Headers: Improve Basic Accessibility
WordPress Trac
noreply at wordpress.org
Sat Nov 5 00:17:21 UTC 2016
#38678: Video Headers: Improve Basic Accessibility
---------------------------+-----------------
Reporter: davidakennedy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Themes | Version:
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------
While testing video headers more, I identified some easy changes that will
improve the overall accessibility of the feature.
1. Add a visible play/pause button. Right now, you can pause and play a
video by clicking on the video itself. This isn't obvious to users. This
way, if a user is bothered by the motion of a video, it can easily be
turned off.
2. Add `aria-hidden` attribute to the video container: `#wp-custom-
header`. Since these videos should be purely used as decorative videos, it
makes sense to hide them from assistive technology. The visible play/pause
button should also have an `aria-hidden` attribute since it's not needed
by assistive technology.
See: #38172.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38678>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list