CKEditor overwrites aria-expanded="true" to "false" upon save

Created on 25 January 2024, 10 months ago

Problem/Motivation

I am running Drupal 10.2 with the USWDS Base template. If I add a USWDS accordion to a page using the GUI button or through source code and edit the aria-expanded to "true" and then save, the accordion does not display as expanded and the code has reverted back to aria-expanded="false".

Steps to reproduce

Add an accordion with content.
In

, change aria-expanded="false" to aria-expanded="true"
Save
Open "Source." "False has replaced "true" in the code and the accordion does not display as open.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States wlc13

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

Comments & Activities

Production build 0.71.5 2024