W3c validation error aria-polite

Created on 8 November 2016, over 7 years ago
Updated 26 January 2023, over 1 year ago

Problem/Motivation

There is a W3c validation error with atributte aria-polite because it doesn't exist for aria properties.

Proposed resolution

You can fix it change aria-polite by aria-live in twitter_block/src/Plugin/Block/TwitterBlock.php. Here I paste the new code:
Line 255
+ $render['block']['#attributes']['aria-live'] = $config['polite'];
- $render['block']['#attributes']['aria-polite'] = $config['polite'];

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain JoaoGamma

Live updates comments and jobs are added and updated live.
Sign in to follow issues

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.69.0 2024