[wp-trac] [WordPress Trac] #29699: add_theme_support( 'screen-reader-text' );
WordPress Trac
noreply at wordpress.org
Fri Oct 17 16:55:41 UTC 2014
#29699: add_theme_support( 'screen-reader-text' );
-------------------------+------------------------------
Reporter: GaryJ | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility
-------------------------+------------------------------
Comment (by obenland):
> themes aren't guaranteed to provide a `.screen-reader-text`-esque class
on the front-end
The search form uses `.screen-reader-text` since r11312.
There are a variety of CSS classes that WordPress expects themes to define
(like `.alignleft`, `.alignright`, etc.), [https://make.wordpress.org/docs
/theme-developer-handbook/part-four-releasing-your-theme/theme-review-
guidelines/#wordpress-generated-css-classes outlined in the WPTRT
guidelines]. We should just add it to that list.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29699#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list