[wp-trac] [WordPress Trac] #46977: WP_List_Table table headers are missing `role=`columnheader` for accessibility

WordPress Trac noreply at wordpress.org
Wed Apr 24 15:05:49 UTC 2019


#46977: WP_List_Table table headers are missing `role=`columnheader` for
accessibility
-------------------------------+------------------------------
 Reporter:  dannylonglegs      |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:  5.1.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  accessibility
-------------------------------+------------------------------
Changes (by afercia):

 * keywords:  needs-patch => reporter-feedback


Comment:

 @dannylonglegs thanks for your report and welcome to Trac! Worth noting
 the tables you're referring to already use a proper `th` element with a
 `scope` attribute. In this case, I'm not sure a [https://www.w3.org/TR
 /wai-aria-1.1/#columnheader columnheader] role is required as it would
 just duplicate the already existing semantics.

 When you have a chance, can you please provide more context or ask the
 persons who told you why they think columnheader is necessary?

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


More information about the wp-trac mailing list