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'];

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

JoaoGamma created an issue. See original summary.

brentschuddinck’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new477 bytes

I've created a patch for this issue. This is my first contribution to the community. I'm looking forward to receive your feedback.

naveenvalecha’s picture

Version: 8.x-2.1 » 8.x-3.x-dev

smustgrave made their first commit to this issue’s fork.

  • smustgrave committed c6412fd9 on 8.x-3.x
    Issue #2825731: W3c validation error aria-polite
    
smustgrave’s picture

Status: Needs review » Fixed
Parent issue: » #3336754: Stable 8.x-3.0 release with D10

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.