[wp-trac] [WordPress Trac] #62880: Improve HTML semantics in Site Health Info tables
WordPress Trac
noreply at wordpress.org
Wed Mar 12 20:47:42 UTC 2025
#62880: Improve HTML semantics in Site Health Info tables
--------------------------+----------------------------
Reporter: audrasjb | Owner: joedolson
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8
Component: Site Health | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: accessibility
--------------------------+----------------------------
Comment (by joedolson):
I think that the horizontal relationship is probably sufficient. Having a
`thead` element is necessary for a table that has data organized in
columns, but practically speaking this table really only depends on the
rows. We could add headers, but they would be extremely generic, e.g.
"Test" and "State" or something to that effect. I think that data is too
generic to be semantically valuable. (This was one of the arguments for
keeping this presentational in the first place: any relevant heading would
be too generic to be useful.)
Allowing this to have some tabular relationships but not requiring it to
have less meaningful relationships still seems like a reasonable solution.
I think that adding headings would just be satisfying semantic purity, but
not actually providing meaningful context for the user.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62880#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list