From c5514289af0123132946d9b06ab2d81e272ad167 Mon Sep 17 00:00:00 2001 From: Burcu Noyan Date: Mon, 20 Jul 2026 15:51:22 -0400 Subject: [PATCH] Render accordion aria-expanded as "true"/"false" strings (CS-12256) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Binding a raw boolean stamps an empty-valued attribute when open and removes it when closed — both invalid for the enumerated aria-expanded attribute. The chevron-rotation selector keyed off attribute presence, so it moves to [aria-expanded='true'] now that the attribute is always present. Co-Authored-By: Claude Fable 5 --- .../src/components/accordion/item/index.gts | 4 +- .../integration/components/accordion-test.gts | 48 +++++++++++++++++++ 2 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 packages/boxel-ui/test-app/tests/integration/components/accordion-test.gts diff --git a/packages/boxel-ui/addon/src/components/accordion/item/index.gts b/packages/boxel-ui/addon/src/components/accordion/item/index.gts index a184dea146..c50f725100 100644 --- a/packages/boxel-ui/addon/src/components/accordion/item/index.gts +++ b/packages/boxel-ui/addon/src/components/accordion/item/index.gts @@ -32,7 +32,7 @@ const AccordionItem: TemplateOnlyComponent =