diff --git a/core/misc/announce.js b/core/misc/announce.js index 4e45a21..21b41dc 100644 --- a/core/misc/announce.js +++ b/core/misc/announce.js @@ -44,11 +44,10 @@ // Create an array of announcement strings to be joined and appended to the // aria live region. - // - // If any of the announcements has a priority of assertive, the entire - // group of announcements will have this priority. while (announcement = announcements.pop()) { text.unshift(announcement.text); + // If any of the announcements has a priority of assertive then the group + // of joined announcements will have this priority. if (announcement.priority === 'assertive') { priority = 'assertive'; }