15309a88d0
* 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> |
||
---|---|---|
.. | ||
fixtures | ||
integration | ||
plugins | ||
support |