[wp-trac] [WordPress Trac] #37004: Html5 / W3C Validation
WordPress Trac
noreply at wordpress.org
Wed Jun 15 10:06:18 UTC 2016
#37004: Html5 / W3C Validation
----------------------------------------+-----------------------------
Reporter: arena | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Future Release
Component: Administration | Version:
Severity: trivial | Resolution:
Keywords: needs-patch good-first-bug | Focuses: administration
----------------------------------------+-----------------------------
Changes (by pento):
* keywords: reporter-feedback => needs-patch good-first-bug
* priority: normal => low
* focuses: => administration
* severity: normal => trivial
* milestone: Awaiting Review => Future Release
Comment:
Confirmed 3 bugs on the posts list page:
* `<input type="number" step="1" min="1" max="999" class="screen-per-page"
name="wp_screen_options[value]" id="edit_post_per_page" maxlength="3"
value="20" />`[[BR]][[BR]]`maxlength="3"` is invalid for `<input
type="number" />`. This is a hangover from when it used to be
`type="text"`; `max="999"` does what we want it to do. The `maxlength`
attribute can be removed.
* The "View" link for each post has `rel="permalink"`. This is from the
WCLR spec, which is obsolete. `permalink` should be replaced with
`bookmark`, from the
[https://html.spec.whatwg.org/multipage/semantics.html#link-type-bookmark
HTML5 spec].
* In the Quick Edit table, there's a `colspan="<?php echo
$this->get_column_count(); ?>"`, but it doesn't seem to be necessary. It's
a bit of a classic, introduced in [8973], when the Quick Edit table became
an entire table, instead of just another row in the post list table. It
can go.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37004#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list