[wp-trac] [WordPress Trac] #61956: Convert div to main tag for web accessibility
WordPress Trac
noreply at wordpress.org
Tue Sep 3 15:54:27 UTC 2024
#61956: Convert div to main tag for web accessibility
-----------------------------------------------+---------------------------
Reporter: upendmca | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting
| Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback close | Focuses:
| accessibility
-----------------------------------------------+---------------------------
Changes (by joedolson):
* keywords: has-patch reporter-feedback => has-patch reporter-feedback
close
Comment:
At this time, this change seems unnecessary. I think that the use case
would be if you were attempting to child theme a parent that did not use
the `main` element in its templates. In that case, you could use this
filter to change the outer wrapper instead of editing the templates in
your child theme.
However, block themes in the theme repository are expected to include a
`main` element; the `main` element is available on relevant blocks as a
selectable HTML element in the advanced block settings; and you can change
them in child themes (even if it's kind of a pain.)
I think this is probably a `wontfix` issue; but I'm open to arguments, if
there's a case I haven't thought of.
Discussed in the accessibility bug scrub, and agreed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61956#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list