* feat: add skip-to-content button
* fix: remove content start ids from everywhere and add to default layout
* chore: format landing-top.tsx
* use single quotes in skip-to-content component
* include breadcrumbs in navigation
* linting fail fix
* use anchor tag instead of new component
* update challenge title snap
* fix(test): reliably move focus onto the editor
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* 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: add stripe donate page test for non donors
* fix: revert changes to see if ev is passed correctly
* feat: download artifacts
* fix: add quotations for spec args with global patterns
* fix: remove firefox from cypress donation tests
* fix: trigger action on main push
* Apply suggestions from code review
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* feat: remove matrix and simplify
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>