[wp-trac] [WordPress Trac] #52355: Twenty Twenty: remove aria-expanded on Close Search button (was: Twenty Twenty-One: remove aria-expanded on Close Search button)

WordPress Trac noreply at wordpress.org
Mon Jan 25 01:33:59 UTC 2021


#52355: Twenty Twenty: remove aria-expanded on Close Search button
---------------------------+------------------------------
 Reporter:  alexstine      |       Owner:  alexstine
     Type:  enhancement    |      Status:  accepted
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.6
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  accessibility
---------------------------+------------------------------
Changes (by alexstine):

 * owner:  (none) => alexstine
 * status:  new => accepted


Old description:

> Theme: Twenty Twenty-One
>
> 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.

New description:

 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.

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52355#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list