Skip to content

Commit

Permalink
fix(community-mini-expand-collapse): accessible voice over on toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
pratik-panchal-telus authored and mike-bunce committed Jul 13, 2021
1 parent 4efa0c4 commit 14fdb85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/MiniExpandCollapse/Link/Link.jsx
Expand Up @@ -89,6 +89,7 @@ const Link = (
invert={invert}
context={context}
a11yLabel={a11yLabel}
aria-expanded={isPanelOpen}
>
{isPanelOpen && expandTitle ? expandTitle : collapseTitle}
{a11yLabel && <A11yContent>{a11yLabel}</A11yContent>}
Expand Down

0 comments on commit 14fdb85

Please sign in to comment.