[wp-trac] [WordPress Trac] #29699: add_theme_support( 'screen-reader-text' );

WordPress Trac noreply at wordpress.org
Mon Oct 27 00:34:30 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 close  |     Focuses:  accessibility
-----------------------------+------------------------------
Changes (by obenland):

 * keywords:  has-patch => has-patch close


Comment:

 I don't think that this is a good use of the theme support mechanism. Of
 course themes are not guaranteed to define `.screen-reader-text`, but they
 also might not define `.wp-caption` for example.

 The class has been in use for over 5 years now, default themes use it,
 starter themes use it, functions proposed in #29808 use it.

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


More information about the wp-trac mailing list