[wp-trac] [WordPress Trac] #57834: Every Group block translates to a <main> HTML tag

WordPress Trac noreply at wordpress.org
Wed Mar 1 13:15:37 UTC 2023


#57834: Every Group block translates to a <main> HTML tag
--------------------------+------------------------------
 Reporter:  asafm7        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by poena):

 Every template in Twenty Twenty-Three except for the "blank" page template
 already has a main element.

 If you go to the template list and use "Add new" to create a new template,
 it copies the code from an existing theme template. The custom page
 template (the last option in the "Add new" template list) copies the code
 from the post template. These will already have a main element.



 (For the second question it depends on the design and what you want to
 achieve.)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57834#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list