[wp-trac] [WordPress Trac] #31965: Add screen-reader-text to list "filter" links

WordPress Trac noreply at wordpress.org
Tue Apr 14 01:22:27 UTC 2015


#31965: Add screen-reader-text to list "filter" links
----------------------------+-----------------------------
 Reporter:  Cheffheid       |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  accessibility   |
----------------------------+-----------------------------
 This is specifically for links like these on the "Posts" page:

 [[Image(http://i.imgur.com/tUEsTbD.png)]]

 Currently, when tabbing through the page, these links will simply announce
 "All (x)", "Published (x)", "Draft (x)", and so on. It's absolutely not
 clear what these links will do when activated.

 Suggestion is (to keep it simple, code wise) to change this to the
 following:

 {{{
 <span class="screen-reader-text">Show</span>
 [status] (x)
 <span class="screen-reader-text">[post_type]</span>
 }}}

 Where [status] is the status (All, Published, Draft, whatever) and
 [post_type] is whatever the post type is (or Comments, or Plugins).

 To make it easier to review patches, will probably need to make these
 changes on a per-file basis and create patches based on that.

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


More information about the wp-trac mailing list