Skip to content

Commit

Permalink
fix: a11y accordion block
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Feb 12, 2025
1 parent b06d550 commit 96eb834
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
- ...
-->

## Versione x.x.x (x/x/x)

### Migliorie

- a11y - migliorata l'accessibilità nel blocco Accordion

## Versione 11.26.5 (06/02/2025)

### Migliorie
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const ViewBlock = ({ data, isOpen, toggle, id, index }) => {
id={`content-${id}-${index}`}
role="region"
aria-labelledby={`${id}-${index}`}
hidden={!isOpen}
>
<div className="accordion-inner" onFocus={toggle()}>
<TextBlockView id={id} data={{ value: data.text }} />
Expand Down

0 comments on commit 96eb834

Please sign in to comment.