Fix Video Background Accessibility issue by adding aria-hidden to the video tag indicating a removed element from the accessibility tree

Created on 13 June 2022, over 2 years ago
Updated 4 April 2024, 7 months ago

Problem/Motivation

When Using a background video accessibility checkers flag it as needs checks for captions as the video is not removed from the accessibility tree and we should have an aria label on it indicated that the video is purely for decoration.

Steps to reproduce

  1. Add a background video section
  2. Using assistive technologies it announced the video element

Proposed resolution

add aria-hidden="true" to the video tag indicating that this element should be removed from the accessibility tree.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States emerham

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024