Missing ID Attribute for aria-describedby in <details> Element

Created on 25 January 2025, 3 days ago

Problem/Motivation

Steps to reproduce

  • Install and enable the Gin theme in Drupal.
  • Navigate to a page where the <details> element is used (like edit setting of an image field)
  • Inspect the HTML to observe the element
  • Verify that there is no id in the description div inside this details element
  • Check the screenshot

Proposed resolution

Add the id to the description element within the details.html.twig template file to ensure the aria-describedby attribute can correctly reference an element.

Remaining tasks

  1. Update the details.html.twig file to include the missing ID attribute.
  2. Test the changes to ensure that the aria-describedby attribute correctly links to the newly assigned ID.

User interface changes

No visible user interface changes

API changes

No API changes are required

Data model changes

No changes to the data model are needed

๐Ÿ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany solimanharkas Hamburg

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

Comments & Activities

Production build 0.71.5 2024