Skip to content

Commit

Permalink
fix: pass politeness
Browse files Browse the repository at this point in the history
  • Loading branch information
d-koppenhagen committed Jan 5, 2024
1 parent 9589518 commit 95c04ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/alert-region/alert-region.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class AlertRegionComponent {

private announce() {
const description = this.description ? `: ${this.description}` : '';
this.liveAnnouncer.announce(`${this.title}${description}`);
this.liveAnnouncer.announce(`${this.title}${description}`, this.politeness);
}

private closeMessage() {
Expand Down

0 comments on commit 95c04ce

Please sign in to comment.