Remove role="group" from figure in FilterCaption output

Created on 23 August 2019, about 5 years ago
Updated 25 October 2023, 11 months ago

Andrew Macpherson writes:

<figure role="group"> can be replaced with <figure>, losing the role attribute entirely. The group role is technically permitted on the figure element, but the default implicit role is figure. The figure role was introduced in ARIA 1.1, and the HMTL 5.2 role mapping was updated accordingly. Our existing use of role=group in our filter figure probably arose because it was created prior to ARIA 1.1 - so that's really a modernization issue.

See #2994702-54: Allow editors to alter embed-specific metadata, as well as `data-align` and `data-caption` β†’

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
FilterΒ  β†’

Last updated about 5 hours ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States oknate Greater New York City Area

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

Comments & Activities

Not all content is available!

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

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Wonder if this should be closed or still a task?

  • πŸ‡ΊπŸ‡ΈUnited States jerdavis Minneapolis, MN

    This came up as a level A issue in an accessibility audit on Drupal 10.1.4. Should we just move forward with removing it for now as it's out of compliance even if it isn't doing active harm rather than leave postponed?

Production build 0.71.5 2024