Remove role="group" from figure in FilterCaption output

Created on 23 August 2019, almost 6 years ago
Updated 14 July 2023, almost 2 years 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 18 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.

Production build 0.71.5 2024