[wp-trac] [WordPress Trac] #32170: List table: sortable column headers accessibility

WordPress Trac noreply at wordpress.org
Thu May 14 13:50:13 UTC 2015


#32170: List table: sortable column headers accessibility
----------------------------+--------------------------------
 Reporter:  afercia         |       Owner:  afercia
     Type:  defect (bug)    |      Status:  assigned
 Priority:  normal          |   Milestone:  4.3
Component:  Administration  |     Version:  4.2
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  ui, accessibility
----------------------------+--------------------------------

Comment (by afercia):

 I fear we can't do it this way.Unfortunately, any text added in the table
 headers (which have `scope=col`) will be read out again by screen readers
 for each table cell in that column.

 Also, unrelated to the patch but makes things a bit more difficult, in the
 initial view `$current_order` is always set to "asc" even when, for
 example in the Posts screen, is "desc".
 {{{
 if ( isset( $_GET['order'] ) && 'desc' == $_GET['order'] )
         $current_order = 'desc';
 else
         $current_order = 'asc';

 }}}

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


More information about the wp-trac mailing list