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

WordPress Trac noreply at wordpress.org
Mon Aug 19 04:12:54 UTC 2019


#46899: Ensure that tables generated by the Settings API have no semantics
-------------------------------------+-------------------------------------
 Reporter:  greatislander            |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  5.2.3
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  settings-api has-patch   |     Focuses:  accessibility,
  needs-testing fixed-major          |  administration
-------------------------------------+-------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"45834" 45834]:
 {{{
 #!CommitTicketReference repository="" revision="45834"
 Accessibility: Make sure layout tables across the admin are correctly
 linearized.

 Adds `role="presentation"` to the `<table>` elements used for layout
 purposes.

 Ideally, HTML tables should be used for tabular data. When tables are used
 for layout purposes, it's important to remove any native semantics so that
 assistive technologies can correctly announce the table content in a
 linearized fashion.

 Props greatislander, afercia.
 Merges [45403] to the 5.2 branch.
 See #46899.
 }}}

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


More information about the wp-trac mailing list