diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bff3d02..8bb18cb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,19 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Added the ability to switch from assertive (default) to polite aria modes, in the help menu. [#230](https://github.com/uiuc-ischool-accessible-computing-lab/maidr/issues/230) ### Fixed - ### Changed - ### Chores - Added instructions on how to take a screenshot in in GitHub bug report and pull request templates (#307). - Commented out the instructions on GitHub templates so that users can keep it while adding new content (#308). - ## [1.0.4] - 2023-11-30 ### Added diff --git a/src/js/constants.js b/src/js/constants.js index 97e28b1e..7f36af9e 100644 --- a/src/js/constants.js +++ b/src/js/constants.js @@ -73,6 +73,7 @@ class Constants { isTracking = 1; // 0 / 1, is tracking on or off visualBraille = false; // do we want to represent braille based on what's visually there or actually there. Like if we have 2 outliers with the same position, do we show 1 (visualBraille true) or 2 (false) globalMinMax = true; + ariaMode = 'assertive'; // assertive (default) / polite // user controls (not exposed to menu, with shortcuts usually) showDisplay = 1; // true / false @@ -310,15 +311,21 @@ class Menu {