Problem/Motivation

The config form includes:

<details data-drupal-selector="edit-allowed-content-entities" aria-describedby="edit-allowed-content-entities--description" id="edit-allowed-content-entities" class="js-form-wrapper form-wrapper olivero-details" data-drupal-states="{&quot;visible&quot;:{&quot;:input[name=\u0022active_on[content_entity_forms]\u0022]&quot;:{&quot;checked&quot;:true}}}" data-once="details states" open="">

But the element with the id edit-allowed-content-entities--description doesn't exist.

Steps to reproduce

Enable the module, go to the config form in /admin/config/content/autosave_form
Inspect the code and search edit-allowed-content-entities--description

Proposed resolution

Add a description for that selector.

User interface changes

A new description is added.

API changes

NA

Data model changes

NA

Comments

alvar0hurtad0 created an issue. See original summary.

alvar0hurtad0’s picture

Title: Missing ARIA reference » Missing ARIA reference in config form
Issue tags: +ContributionWeekend2025, +HamburgContributionWeekend2025, +accesibility
solimanharkas’s picture

Assigned: Unassigned » solimanharkas
Status: Active » Needs work
solimanharkas’s picture

Assigned: solimanharkas » Unassigned
Status: Needs work » Needs review
StatusFileSize
new504.19 KB

I've identified a bug in the Claro theme, as well as other core themes in Drupal. The id attribute is missing in the details.html.twig template, In the Claro theme at this location : https://git.drupalcode.org/project/claro/-/blob/8.x-2.x/templates/detail.... so the description is missing from all forms using this template, as demonstrated in the attached screenshot.

Could you please confirm this issue, so I can proceed with creating a ticket for the Claro theme?

alvar0hurtad0’s picture

Status: Needs review » Fixed

You're totally right, let's close this issue and create one in the project that it's actually responsible.

solimanharkas’s picture

Status: Fixed » Closed (fixed)

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

avpaderno’s picture

Version: 8.x-1.9 » 8.x-1.x-dev
Issue tags: -accesibility +Accessibility

I corrected a typo in a used issue tag. I apologize for bumping this issue.