File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ and this project adheres to
1717 - ♿(frontend) improve ARIA in doc grid and editor for a11y #1519
1818 - ♿(frontend) improve accessibility and styling of summary table #1528
1919 - ♿(frontend) add focus trap and enter key support to remove doc modal #1531
20+ - ♿(frontend) fix toggle panel button a11y with dynamic label and aria-… #1634
2021- 🐛(frontend) preserve @ character when esc is pressed after typing it #1512
2122- 🐛(frontend) make summary button fixed to remain visible during scroll #1581
2223- 🐛(frontend) fix pdf embed to use full width #1526
Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ export const ButtonTogglePanel = () => {
1212 < Button
1313 size = "medium"
1414 onClick = { ( ) => togglePanel ( ) }
15- aria-label = { t ( 'Open the header menu' ) }
15+ aria-label = { t (
16+ isPanelOpen ? 'Close the header menu' : 'Open the header menu' ,
17+ ) }
18+ aria-expanded = { isPanelOpen }
1619 color = "tertiary-text"
1720 icon = {
1821 < Icon
You can’t perform that action at this time.
0 commit comments