Search field/button accessibility issues (missing name, focus order, input type) - a11y

Open Beginner friendly
#477 0 comments 0 reactions 0 assignees View on GitHub

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

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

01 type: bug 02 type: regression 30 needs: triage 99 tag: UX Accessibility

Description

The search widget in the header (input + submit button) at https://aurora.demo.plone.org/ has a few accessibility issues:

  1. Search button has no accessible name. No text, no aria-label, icon is aria-hidden. Screen readers just announce "button". It's a plain submit button (equivalent to pressing Enter), no toggle behavior involved.
  2. Focus order doesn't match visual order. In the DOM, input comes before button, but visually the button sits to the left of the input. Tab goes input → button while it visually reads button → input.
  3. Input uses type="text" instead of type="search". Loses the native searchbox role, clear button, and mobile "search" keyboard action.

Nice to have

  • autocomplete attribute is missing on the input.

Steps to reproduce

  1. Open https://aurora.demo.plone.org/
  2. Inspect the search button near "Search site": no aria-label, no text.
  3. Tab through the header: focus order doesn't match the visual layout.
  4. Inspect the input: type="text", should be type="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

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.

More from plone/aurora

All issues in plone/aurora

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.