Skip to content

Commit

Permalink
documentation for radiationRedirectionUtterance, see #192
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Aug 3, 2022
1 parent 102839a commit 27ea84e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/common/view/GasConcentrationAlerter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ class GasConcentrationAlerter extends Alerter {
private netEnergyProperty: IReadOnlyProperty<number>;
private previousNetInflowOfEnergy: number;

// An Utterance for the alert that describes radiation redirection from sky back to earth. It is announced after
// a change in concentration. It is assertive because we want this initial change to interrupt any stale alerts
// after the change in concentration.
private readonly radiationRedirectionUtterance = new Utterance( {
announcerOptions: {
ariaLivePriority: AriaLiveAnnouncer.AriaLive.ASSERTIVE
Expand Down

0 comments on commit 27ea84e

Please sign in to comment.