Skip to content

Commit

Permalink
fix: testing aria codesnippet (#16022)
Browse files Browse the repository at this point in the history
* fix: testing aria codesnippet

* fix: test desribedby

* fix: assertive

* Update CodeSnippet.js

---------

Co-authored-by: Alison Joseph <alison.joseph@us.ibm.com>
  • Loading branch information
andreancardona and alisonjoseph committed Mar 27, 2024
1 parent c90b401 commit eb0b6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/CodeSnippet/CodeSnippet.js
Expand Up @@ -192,7 +192,7 @@ function CodeSnippet({
className={codeSnippetClasses}
feedback={feedback}
feedbackTimeout={feedbackTimeout}>
<code id={uid} ref={innerCodeRef}>
<code aria-live="assertive" id={uid} ref={innerCodeRef}>
{children}
</code>
</Copy>
Expand Down

0 comments on commit eb0b6e5

Please sign in to comment.