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

WordPress Trac noreply at wordpress.org
Sat Sep 27 14:38:43 UTC 2014


#29699: Use current_theme_supports( 'screen-reader-text' );
-------------------------+------------------------------
 Reporter:  GaryJ        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  accessibility
-------------------------+------------------------------

Comment (by GaryJ):

 @scottsweb had a suggestion for this. In summary, instead of theme support
 called `screen-reader-text`, we could use a superset of `accessibility`.
 This was on the assumption that there might be other accessibility-
 specific features that themes need to communicate to other parties that it
 supports, without having separate theme support items. The args array
 passed in would then have keys named for specific things like `screen-
 reader-text-class`.

 At this point, I can't think of anything that is as specific as the
 screen-reader-text point, but I'm open to changing if there are. We
 already have `html5` theme support which can change the markup for
 comments, for instance, that could include attributes for accessibility.

 We must remember that while this idea is new, this specific theme support
 is not about accessibility per se, but really about backwards-
 compatibility; moving the linked tickets forward to improve accessibility,
 without breaking existing themes.

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


More information about the wp-trac mailing list