Skip to content

Commit

Permalink
make sure that readyToAnnounce is true again even if predicate fails, #…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Feb 1, 2023
1 parent f9e25eb commit 9e7c5bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/AriaLiveAnnouncer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ class AriaLiveAnnouncer extends Announcer {
this.readyToAnnounce = true;
}, AriaLiveAnnouncer.ARIA_LIVE_DELAY );
}
else {
this.readyToAnnounce = true; // If the predicate fails, we are ready to announce again.
}
}, 0 );
}

Expand Down

0 comments on commit 9e7c5bb

Please sign in to comment.