Skip to content

Commit

Permalink
fix(tooltip): change aria-live to role: status
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjohnson committed Dec 18, 2024
1 parent ee2bdea commit cea398a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/rh-tooltip/rh-tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class RhTooltip extends LitElement {

private static initAnnouncer() {
document.body.append((this.announcer = Object.assign(document.createElement('div'), {
ariaLive: 'polite',
role: 'status',
// apply `.visually-hidden` styles
style: /* css */`
position: fixed;
Expand Down

0 comments on commit cea398a

Please sign in to comment.