openlibhums / openlibhums/janeway

Replace "onchange" action so that changes are not triggered on input

Open
#5,280 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1.9-ally a11y bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.