https://bugzilla.wikimedia.org/show_bug.cgi?id=40384
Web browser: ---
Bug #: 40384
Summary: HTML validation: Attribute width/height not allowed on
element button at this point
Product: MediaWiki
Version: 1.20-git
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
Now that HTML5 is enabled, there are two endemic HTML validation errors:
* Attribute width not allowed on element button at this point.
* Attribute height not allowed on element button at this point.
*
validator.w3.org/check?uri=http%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FSpecial%3ABlankPage
The issue is in the markup for the search button:
* <button name="button" title="Search Wikipedia for this text"
id="searchButton" width="12" height="13">
The width and height attributes are not valid for the button element:
*
http://dev.w3.org/html5/spec-author-view/the-button-element.html#the-button-element
The search icon is 12 x 13 pixels, thus this markup is not needed.
HTML validation is important. When editors manually create HTML ids, such as
certain citation templates, we recommend they validate the page to ensure they
have no duplicates. They get bogged down in endemic validation errors.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l