[wp-trac] [WordPress Trac] #30479: Twenty Fifteen: class="says" has style defined as display: none, should be like screen-reader-only

WordPress Trac noreply at wordpress.org
Mon Nov 24 14:57:48 UTC 2014


#30479: Twenty Fifteen: class="says" has style defined as display: none, should be
like screen-reader-only
---------------------------+-----------------------------
 Reporter:  rianrietveld   |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 In wp-includes/comment-template.php the class="says" is added to hide text
 from screen.

 Twenty Fifteen defines that as

 {{{
 .says {
         display: none;
 }
 }}}


 Display: none; also hides text from screen readers, so it's not useful to
 do so.

 It would be better if that was defined as or like screen-reader-text.

 Is there a way to solve this like @mattwiebe did in #30110?

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


More information about the wp-trac mailing list