[wp-trac] [WordPress Trac] #47066: Twenty Nineteen: The main element must not appear as a descendant of the section element.

WordPress Trac noreply at wordpress.org
Wed Sep 4 16:27:00 UTC 2019


#47066: Twenty Nineteen: The main element must not appear as a descendant of the
section element.
-------------------------------------+-------------------------------------
 Reporter:  albertomake              |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.3
Component:  Bundled Theme            |     Version:  5.1
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-dev-     |     Focuses:  accessibility,
  note commit                        |  template
-------------------------------------+-------------------------------------
Changes (by afercia):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45942" 45942]:
 {{{
 #!CommitTicketReference repository="" revision="45942"
 Bundled Theme: Twenty Nineteen: Fix the nesting of the `main` element.

 The `main` element must not appear as a descendant of the `section`
 element. Correct markup is the first requirement to make user agents and
 assistive technologies work properly.

 Changes the `<section>` element that was wrapping the `<main>` element to
 a `<div>`.

 Props albertomake, ryelle, desrosj, ianbelanger, audrasjb.
 Fixes #47066.
 }}}

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


More information about the wp-trac mailing list