[wp-trac] [WordPress Trac] #37004: Html5 / W3C Validation

WordPress Trac noreply at wordpress.org
Mon Apr 17 11:27:29 UTC 2017


#37004: Html5 / W3C Validation
--------------------------------------------+-----------------------------
 Reporter:  arena                           |       Owner:  mihai2u
     Type:  defect (bug)                    |      Status:  assigned
 Priority:  low                             |   Milestone:  Future Release
Component:  Administration                  |     Version:
 Severity:  trivial                         |  Resolution:
 Keywords:  good-first-bug has-screenshots  |     Focuses:  administration
--------------------------------------------+-----------------------------
Changes (by mihai2u):

 * keywords:  good-first-bug has-screenshots needs-refresh => good-first-bug
     has-screenshots


Comment:

 I've done further progress on this task and achieved w3c valid pages in a
 couple more areas where errors were spotted:
 Comments index - removed template colspan updated by JS according to the
 screen size
 Users index - fixed duplicate IDs being present on two buttons
 Settings - General - removed inline width on th element, as it's obsolete
 (width was already defined in CSS)
 Settings - General - fixed incorrect positioning of closing span tag
 around the Custom date format options
 Settings - Media - fixed incorrect usage of colspan="2" in the case where
 there were no other rows/columns in the same table.

 I looked into some other w3c errors, and they were related to two things:
 1 - mark-up used as a JS template which had table mark-up although it was
 a single row (posts / tags, posts / categories)
 2 - duplicate IDs on the Pages index (the dropdown builder automatically
 populates the id with the name value passed as a parameter, and there
 isn't an easy way to make it generate dropdowns with no IDs).

 I've updated the github branch with the latest stable WP version, and will
 upload the corresponding 37004.5.diff for it ( https://github.com/xwp
 /wordpress-develop/pull/221.diff )

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


More information about the wp-trac mailing list