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

WordPress Trac noreply at wordpress.org
Mon Jan 25 01:23:37 UTC 2021


#52355: Twenty Twenty-One: remove aria-expanded on Close Search button
---------------------------+-----------------------------
 Reporter:  alexstine      |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  5.6
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 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.

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


More information about the wp-trac mailing list