openlibhums / openlibhums/janeway
Replace "onchange" action so that changes are not triggered on input
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 238
- Forks
- 97
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 8
Description
from a11y-audit #5160
see WCAG 3.2.2 on input - changing a setting should not automatically trigger a change in context.
We have about 8 places in the front of house code where <select> elements have onchange triggers - this relates to language selection - and so will reload the page in the selected language (a change of context).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the front-of-house code for the roughly eight language-selection elements with onchange handlers. Check each affected flow and confirm that choosing a language no longer immediately reloads the page or changes context, while the language change remains available through an explicit action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- accessibility, frontend, internationalization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100