Search field/button accessibility issues (missing name, focus order, input type) - a11y
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- accessibility, frontend
Research direction
Start by locating the header search widget in the Aurora source and inspecting its input and submit button markup. Check how the visual order is set and look for related accessibility tests. Done when the button has an accessible name, keyboard focus follows the visual order, and the input uses type="search"; consider autocomplete as the issue’s nice-to-have.
Written by the indexing model from the issue text.
Description
Description
The search widget in the header (input + submit button) at https://aurora.demo.plone.org/ has a few accessibility issues:
- Search button has no accessible name. No text, no
aria-label, icon isaria-hidden. Screen readers just announce "button". It's a plain submit button (equivalent to pressing Enter), no toggle behavior involved. - Focus order doesn't match visual order. In the DOM,
inputcomes beforebutton, but visually the button sits to the left of the input. Tab goes input → button while it visually reads button → input. - Input uses
type="text"instead oftype="search". Loses the nativesearchboxrole, clear button, and mobile "search" keyboard action.
Nice to have
autocompleteattribute is missing on the input.
Steps to reproduce
- Open https://aurora.demo.plone.org/
- Inspect the search button near "Search site": no
aria-label, no text. - Tab through the header: focus order doesn't match the visual layout.
- Inspect the input:
type="text", should betype="search".
Expected behavior
- Search button has a proper accessible name.
- Tab order matches the visual layout.
- Input uses
type="search".
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 9
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 54
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from plone/aurora
-
01 type: bug 41 lvl: easy
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yOpen01 type: bug 99 tag: UX Accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
01 type: bug 30 needs: triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 2 days
-
01 type: bug 99 tag: UX Accessibility
Difficulty 1/5 Under an hour Newbie friendliness 76/100
Maintainers usually reply within 2 days
-
01 type: bug 30 needs: triage
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 2 days
Similar issues
-
accessibility bug dark-mode dashboards
Difficulty 1/5 Under an hour Newbie friendliness 84/100
quarto-dev/quarto-cli#15447 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
521xueweihan/HelloGitHub#4655 ·
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
bug CRIT-3
Difficulty 1/5 Under an hour Newbie friendliness 70/100
NASA-AMMOS/anms#426 ·