#52355 closed enhancement (fixed)
Twenty Twenty: remove aria-expanded on Close Search button
| Reported by: | alexstine | Owned by: | alexstine |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.7 |
| Component: | Bundled Theme | Version: | 5.6 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | accessibility |
Description (last modified by )
Theme: Twenty Twenty
When opening the search form in the header, the Search button automatically gets aria-expanded toggled. However, on the Close Search button, aria-expanded="false" is set by default. Need to remove this attribute as Close Search does not toggle any behavior, it is simply a regular button to close the search form.
Attachments (2)
Change History (11)
#1
@
6 years ago
- Description modified (diff)
- Owner set to
- Status new → accepted
- Summary Twenty Twenty-One: remove aria-expanded on Close Search button → Twenty Twenty: remove aria-expanded on Close Search button
This ticket was mentioned in PR #918 on WordPress/wordpress-develop by alexstine.
6 years ago
#2
- Keywords has-patch added
#3
@
6 years ago
- Keywords needs-testing added
- Milestone Awaiting Review → 5.7
This is ready for testing.
To test:
- Activate Twenty Twenty theme.
- Apply this patch.
- Select Search.
- Select Close Search.
- Check HTML via inspector to make sure aria-expanded="true/false" does not exist on Close Search button.
Thanks.
This ticket was mentioned in Slack in #accessibility by alexstine. View the logs.
6 years ago
#5
@
6 years ago
- Keywords commit added; needs-testing removed
Hi @alexstine, I tested your patch. It works fine and sounds legit to me.
Above, I shared two animated screenshot to demonstrate that your patch fixes the issue.
Looks good to go on my side. Removing needs-testing workflow keyword and replacing it with commit :-)
This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.
6 years ago
This ticket was mentioned in Slack in #core by monikarao. View the logs.
6 years ago
hellofromtonya commented on PR #918:
6 years ago
#9
Ticket closed with changeset https://core.trac.wordpress.org/changeset/50033
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
https://core.trac.wordpress.org/ticket/52355#comment:1