Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is not a major bug but it appears as though the twitter block module is using aria-polite for politeness rather than aria-live, in order to fix this on our site we did the following substitution, but I thought it may be of use to others creating accessible sites:
twitter_block.module:437
-- $block['content']['#options']['attributes']['aria-polite'] = $data['polite'];
++ $block['content']['#options']['attributes']['aria-live'] = $data['polite'];
see: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Liv...
Comments
Comment #1
Devin Carlson CreditAttribution: Devin Carlson commentedThis is a duplicate of #2134683: W3c validation error aria-polite.