Skip to content

a11y: Video widget accessibility#3270

Merged
KingYes merged 2 commits intoelementor:release/2.0.0from
ramiy:a11y-video
Jan 22, 2018
Merged

a11y: Video widget accessibility#3270
KingYes merged 2 commits intoelementor:release/2.0.0from
ramiy:a11y-video

Conversation

@ramiy
Copy link
Copy Markdown
Contributor

@ramiy ramiy commented Jan 21, 2018

Description

The video widget need some accessibility love!

  1. Name - The iframe should have an accessibility name (https://fae.disability.illinois.edu/rulesets/FRAME_2/), either title or aria-label tags.

  2. Action - The play icon should have some text saying "Play video" or some thing like that. Currently, regular visitors see the play button and understand that clicking the icon actives the video, but blind people don't see the icon. We need to add an assistive text for them.

  3. Markup - The play icon wrapper is a <div>, it should be a <button>. The second approach is to add role="button" to the <div> tag.

video-a11y

@ramiy ramiy changed the title a11y: Video widget accessibility a11y: add assistive technologies text near the play video icon Jan 21, 2018
@ramiy ramiy changed the title a11y: add assistive technologies text near the play video icon a11y: add assistive technologies text near the play icon Jan 21, 2018
@ramiy ramiy changed the title a11y: add assistive technologies text near the play icon a11y: Video widget accessibility Jan 21, 2018
@KingYes KingYes merged commit ffce581 into elementor:release/2.0.0 Jan 22, 2018
@ramiy ramiy deleted the a11y-video branch January 22, 2018 14:04
@ashybaye
Copy link
Copy Markdown

ashybaye commented Jan 11, 2019

@ramiy
Hello! Trying to make sure that the video components are indeed passing the accessibility checks. Was the title attribute added to the iframes? I still can't see it in the code when adding videos. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants