* fix: lint these json again
* broken: check for failures on trailing comma
* revert: remove intentionally broken commit for ci demonstration
This reverts commit 526187df2f.
* fix: maybe this is why we had it turned off......
* fix: change the instruction text in step 31
* fix: lowercase an not sentence head word
* fix: lowercase the word after a comma
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* fix: simplify an instruction text
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
* fix: update jaw on all ctrl-enter presses
* fix: show running tests while hiding feedback
Screenreaders still announcing running tests and then the output, and
the display now stops showing a flash of the new feedback message
* refactor: camelCase
* refactor: clean up and reduce renders
previousHint isn't really state, insofar as it changing should not
trigger a new render - a ref does the trick.
* chore: remove log
* fix: use ref to track latest attempts prop
* fix: allow lower jaw to trigger viewzone updates
React.render's callback cannot be relied on. It does not necessarily
get called on every update to the rendered element.
updateContainer is called on every render, so the editor will be
updated.
* refactor: attemptsNumber -> attempts
* fix: do not render on attempt changes
* refactor: more camelCase
* fix: try to prevent previous hint rendering
Co-authored-by:
Manabu Matsumoto <mmatsumoto1026@gmail.com>
* test: resetting of lower jaw
* fix: reset lower jaw when step is reset
* test: check congrats message appears on completion
* fix: hide feedback after reset
* fix: leave focus in the editor after passing tests
This is an attempt to work around a JAWS issue whereby the submit
shortcut (ctrl+enter) is ignored after the user passes all tests.
* test: submit button receives focus when tests pass
* fix: focus submit button when tests pass
Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
* feat: volume slider campire mode
* fix: set a play sound interval
* fix: set volume to 50% if there is no volume key
* fix: add correct colors to progress bar
* fix: remove IE support
* fix: get slide value working in Chrome
* fix: remove space
* fix: actually use volume in the editor
* fix: add aria-label
* fix: set volume if not present in store
* fix: use label instead
* Apply Naomi's review on Toms suggestion
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* fix: linting
* Update client/i18n/locales/english/translations.json
Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
Co-authored-by: root <root@DESKTOP-EMNPVBP.localdomain>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>