[wp-trac] [WordPress Trac] #46725: Site Health: make sure layout tables have no semantics
WordPress Trac
noreply at wordpress.org
Sat Mar 30 14:41:23 UTC 2019
#46725: Site Health: make sure layout tables have no semantics
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.2
Component: Administration | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-screenshots site-health has- | Focuses:
patch | accessibility
-------------------------------------------------+-------------------------
Changes (by afercia):
* owner: (none) => afercia
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"45075" 45075]:
{{{
#!CommitTicketReference repository="" revision="45075"
Accessibility: Make sure the Site Health layout tables are correctly
linearized.
Adds `role="presentation"` to the `<table>` elements used in the Site
Health reports.
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 chetan200891.
Fixes #46725.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46725#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list