[wp-trac] [WordPress Trac] #46899: Ensure that tables generated by the Settings API have no semantics
WordPress Trac
noreply at wordpress.org
Fri May 24 21:55:29 UTC 2019
#46899: Ensure that tables generated by the Settings API have no semantics
------------------------------+--------------------------------------------
Reporter: greatislander | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Administration | Version:
Severity: normal | Resolution: fixed
Keywords: settings-api | Focuses: accessibility, administration
has-patch |
------------------------------+--------------------------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"45403" 45403]:
{{{
#!CommitTicketReference repository="" revision="45403"
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.
Fixes #46899.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46899#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list