[wp-trac] [WordPress Trac] #54079: Remove "role" attribute on HTML5 elements with a default landmark role.
WordPress Trac
noreply at wordpress.org
Fri Oct 29 15:54:59 UTC 2021
#54079: Remove "role" attribute on HTML5 elements with a default landmark role.
-------------------------+-------------------------------------------------
Reporter: costdev | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.9
Component: Bundled | Version:
Theme |
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility, css, coding-
| standards
-------------------------+-------------------------------------------------
Comment (by joedolson):
I think that the first option is the best choice.
Mostly because Twenty Twelve is pretty old, and maintenance or creation of
new child themes off it is probably uncommon at this point - so the
imagined "phase out" will, frankly, be unlikely to happen.
It's also not fool proof; a child theme that replaces the footer but
inherits the style sheet won't inherit the changed styles, so there is a
definite possibility that the style sheet change will break some sites.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54079#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list