[wp-trac] [WordPress Trac] #35198: Adding this Widget and selecting "Display as Dropdown" will show the word Categories twice
WordPress Trac
noreply at wordpress.org
Wed May 18 12:00:21 UTC 2016
#35198: Adding this Widget and selecting "Display as Dropdown" will show the word
Categories twice
--------------------------+------------------------------
Reporter: myBCN | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 4.4
Severity: normal | Resolution:
Keywords: close | Focuses: accessibility
--------------------------+------------------------------
Changes (by swissspidy):
* keywords: reporter-feedback => close
* focuses: => accessibility
Comment:
Thanks for the screenshots, @jeffmcneill!
That's correct, themes are ought to support `.screen-reader-text`, since
core uses that multiple times on the front-end (e.g. in
`get_search_form()`) and it's a general accessibility best practice.
See https://make.wordpress.org/themes/2015/01/26/supporting-screen-reader-
text/ and https://make.wordpress.org/accessibility/2015/02/09/hiding-text-
for-screen-readers-with-wordpress-core/
In the case of the categories widget, the label was added in [31520] to
improve the overall accessibility of the default widget.
This is not a bug in core, but one in the theme. It should simply support
the `.screen-reader-text` CSS class.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35198#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list