Community Forums › Forums › StudioPress Themes › Genesis Sample › W3C Validator + CSS Validator
Tagged: ::-webkit-input-placeholder is an unknown vendor extended pseudo-element, attribute not needed, css, css validator, deprecated, deprecated media features, html, media queries, media query, unknown vendor extension, validation, w3c, w3c validator
- This topic has 1 reply, 1 voice, and was last updated 3 years, 11 months ago by
RedBarn.
-
AuthorPosts
-
April 18, 2021 at 12:04 pm #503763
RedBarn
ParticipantI discovered a number of warnings and errors via https://validator.w3.org/ which I insist on correcting for a 100% W3C Validated website (which I recommend for all websites).
Example:
HTML
////////////Warning: The type attribute for the style element is not needed and should be omitted. <style type="text/css">↩
Error: CSS: Deprecated media feature min-device-width. For guidance, see the Deprecated Media Features section in the current Media Queries specification.
At line 15, column 0Error: No space between attributes.
At line 750, column 493
n type="submit"class="wp-block"Warning: The type attribute is unnecessary for JavaScript resources.
From line 956, column 9; to line 956, column 39
>↩ <script type="text/javascript">↩CSS
////////////
(from the Genesis-sample style.css)89 -webkit-text-size-adjust is an unknown vendor extension
89 -webkit-appearance is an unknown vendor extension
89 ::-moz-focus-inner is an unknown vendor extended pseudo-element
89 ::-moz-focus-inner is an unknown vendor extended pseudo-element
89 ::-moz-focus-inner is an unknown vendor extended pseudo-element
89 ::-moz-focus-inner is an unknown vendor extended pseudo-element
89 :-moz-focusring is an unknown vendor extended pseudo-class
89 :-moz-focusring is an unknown vendor extended pseudo-class
89 :-moz-focusring is an unknown vendor extended pseudo-class
89 :-moz-focusring is an unknown vendor extended pseudo-class
89 The value ButtonText is deprecated
89 ::-webkit-inner-spin-button is an unknown vendor extended pseudo-element
89 ::-webkit-outer-spin-button is an unknown vendor extended pseudo-element
89 -webkit-appearance is an unknown vendor extension
89 ::-webkit-search-decoration is an unknown vendor extended pseudo-element
89 -webkit-appearance is an unknown vendor extension
89 ::-webkit-file-upload-button is an unknown vendor extended pseudo-element
89 -webkit-appearance is an unknown vendor extension
153 -moz-osx-font-smoothing is an unknown vendor extension
154 -webkit-font-smoothing is an unknown vendor extension
404 ::-ms-input-placeholder is an unknown vendor extended pseudo-element
409 :-ms-input-placeholder is an unknown vendor extended pseudo-class
484 ::-webkit-search-cancel-button is an unknown vendor extended pseudo-element
485 ::-webkit-search-results-button is an unknown vendor extended pseudo-element
1476 -webkit-sticky is an unknown vendor extensionWhat is the best way to correct these errors being the HTML I want to edit will update with a new Genesis update?
I am afraid if (1) I make copies in my child theme folder to strictly use my version instead of the Studiopress version then I will miss important updates in the event there is an update and my website will use my version versus the Studiopress updated version or (2) I make the changes in the preexisting files then an update erases my changes and reintroduces the same errors/warnings.
Perhaps this is a overall a request for future W3C validated HTML/CSS Studiopress.
https://validator.w3.org/April 18, 2021 at 12:20 pm #503764RedBarn
ParticipantI read this thread https://studiopress.community/topic/making-genesis-w3c-valid-remove-unnecessary-type-attribute-from-menu-javascript/
This also fits into my "Perhaps this is a overall a request for future W3C validated HTML/CSS Studiopress." meaning the code from that thread could be prebuilt into future Studiopress.
And my question also pertains the best treatment of the current files, not what code to use to fix my problems, of both HTML/CSS/PHP files.
-
AuthorPosts
- You must be logged in to reply to this topic.