Accessibility: The search form in the overlay is named "Menu"
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 84/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- accessibility, frontend
Research direction
Read patterns/overlay-contents.php at the linked line and compare its Search block label with the other search forms named in the issue. Update the overlay search form’s accessible name to describe what it searches, then check the browser accessibility tree with the Navigation Overlay using the Overlay Contents pattern; the search form should have a distinct, descriptive name.
Written by the indexing model from the issue text.
Description
What happened?
The Overlay Contents pattern sets the Search block's ariaLabel to Menu:
When the overlay is open, the search form is named "Menu", which is also the name of the surrounding dialog and the heading above the navigation:
- dialog "Menu":
- heading "Menu"
- navigation "Primary"
- search "Menu":
"Menu" says where the form is, not what it searches. A screen reader user hears "Menu" for three different things.
The other search forms in the theme are named for what they search: Site in hidden-search.php, hidden-404.php and hidden-search-bar.php, and Posts in cta-search.php.
Related: #221 which fixed the navigation in the overlay being named "Expanded".
Where does it happen?
On the site (front end)
Steps to reproduce
- In the Site Editor, go to Patterns, then Template Parts, then Navigation Overlay, and replace it with the Overlay Contents pattern.
- Open the site at phone width.
- Open the navigation menu.
- Check the search form in the browser's accessibility tree.
- See that it is named "Menu".
Screenshots or screen recording
WordPress version
7.2-beta4-65272
PHP version
8.3
Ipsum version
git clone at commit fdfda0a
Gutenberg plugin version
24.3.1
Browser and device
No response
Before you submit
- I searched the existing issues and this bug hasn't been reported yet.
- Dominant language
- PHP
- Stars
- 67
- Forks
- 41
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 35
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 WordPress/ipsum
-
Accessibility: The navigation in the overlay is named "Expanded"Possibly taken @elphizu claimed this 1 day ago. Open[Type] Bug
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 3 days
-
Quote Mark block styles on Paragraph and Heading blocks may be confusingPossibly taken @AshishJii claimed this today. Open[Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
WordPress/ipsum#213 · 1 reaction ·
Maintainers usually reply within 3 days
-
The post date wraps onto two lines on narrow screens when a post has many categoriesPossibly taken @elphizu claimed this 7 days ago. Open[Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 3 days
-
[Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
WordPress/ipsum#197 · 2 comments · 1 reaction ·
Maintainers usually reply within 3 days
-
Post Template: Only display "Keep Reading" if there are posts to keep readingPossibly taken @rvpatel claimed this 21 days ago. Open[Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 3 days
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 3 days
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
[Sync EN] Formatting improvements to "Large Objects (LOBs)" docs (#6056)Possibly taken A pull request linked to this issue is open or already merged. Opensync-en
Difficulty 1/5 Under an hour Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Перевод устарел
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
repo:cms
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
craftcms/cms#20613 · 1 comment ·
Maintainers usually reply within 1 day