Skip to content

Commit

Permalink
fix(clipboard): add area-live to announce copied
Browse files Browse the repository at this point in the history
  • Loading branch information
daKmoR committed Aug 1, 2023
1 parent edd25a4 commit 9f0d257
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/clipboard/clipboard.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default class SlClipboard extends ShoelaceElement {
return html`
<div
part="base"
aria-live="polite"
class=${classMap({
clipboard: true,
[`clipboard--${this.copyStatus}`]: true
Expand Down

0 comments on commit 9f0d257

Please sign in to comment.