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

WordPress Trac noreply at wordpress.org
Mon Jun 3 20:58:57 UTC 2019


#39763: W3C Error with get_calendar()
----------------------------------------+-----------------------------
 Reporter:  Harry Milatz                |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  General                     |     Version:  4.7.2
 Severity:  minor                       |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  accessibility
----------------------------------------+-----------------------------
Changes (by desrosj):

 * keywords:   => needs-patch good-first-bug
 * focuses:   => accessibility
 * severity:  normal => minor
 * milestone:  Awaiting Review => Future Release


Comment:

 Hi @harry-milatz,

 My apologies that this ticket fell through the cracks! Are you able to
 [https://make.wordpress.org/core/handbook/tutorials/working-with-patches/
 create a proper patch] with the suggested changes?

 I just did some testing using the latest version of WordPress and Twenty
 Nineteen and it seems this issue still exists. After some searching, it
 seems that the `<tfoot>` element was allowed to precede the `<tbody>`
 element [https://www.w3.org/TR/html50/tabular-data.html#the-tfoot-element
 in HTML 5]. However, that was [https://www.w3.org/TR/html51/tabular-
 data.html#tabular-data changed in HTML 5.1] and `<tfoot>` must now follow
 `<tbody>`.

 I am tagging this for accessibility review because moving the navigation
 links in `<tfoot>` below the table's body will likely have implications
 for users utilizing assistive technologies (a user may need to navigate
 through the entire calendar month even if it is not the desired month).

 The implications this change has for CSS in themes must also be considered
 and tested to ensure no strangeness comes up.

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


More information about the wp-trac mailing list