[wp-trac] [WordPress Trac] #46899: Ensure that tables generated by the Settings API have no semantics

WordPress Trac noreply at wordpress.org
Fri Apr 12 16:41:10 UTC 2019


#46899: Ensure that tables generated by the Settings API have no semantics
-------------------------------------+-------------------------------------
 Reporter:  greatislander            |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Plugins                  |    Version:  trunk
 Severity:  normal                   |   Keywords:  needs-patch settings-
  Focuses:  accessibility,           |  api
  administration                     |
-------------------------------------+-------------------------------------
 As per [https://wordpress.slack.com/archives/C02RP4X03/p1555084608122900
 Slack discussion] today, the `<table>` element that is output by
 `do_settings_sections()` should have a `role="presentation"` attribute to
 remove table semantics as it is only used for layout purposes.

 References:

 - https://www.scottohara.me/blog/2018/05/05/hidden-vs-none.html#when-to-
 use-rolenonepresentation
 - https://core.trac.wordpress.org/ticket/46725

 Related Tickets:

 - https://core.trac.wordpress.org/ticket/39441

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


More information about the wp-trac mailing list