[wp-trac] [WordPress Trac] #39763: W3C Error with get_calendar()

WordPress Trac noreply at wordpress.org
Sun Feb 9 20:42:39 UTC 2020

#39763: W3C Error with get_calendar()
 Reporter:  Harry Milatz                         |       Owner:
                                                 |  isabel_brison
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.4
Component:  General                              |     Version:  4.7.2
 Severity:  minor                                |  Resolution:  fixed
 Keywords:  good-first-bug has-patch needs-dev-  |     Focuses:  ui,
  note commit has-screenshots                    |  accessibility
Changes (by jorbin):

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


 In [changeset:"47223" 47223]:
 #!CommitTicketReference repository="" revision="47223"
 General: Fix HTML for get_calendar()

 The <tfoot> element was allowed to precede the <tbody> element in HTML 5.
 However, that was changed in HTML 5.1 and <tfoot> must now follow <tbody>.

 This removes the tfooot and instead uses a nav element for navigation
 between months.

 Fixes: #39763
 Props: isabel_brison, Harry Milatz, audrasjb, abhijitrakas, SergeyBiryukov

Ticket URL: <https://core.trac.wordpress.org/ticket/39763#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list