I got these errors on w3 check
1 – Bad value “search” for attribute “role” on element form.
<form role="search" method="get" class="td-search-form" action="https://www.example.com/">
2 – Bad value “” for attribute “href” on element link: Must be non-empty.
<link rel="pingback" href="" />
3 – Element “link” is missing required attribute “property.” (how many link statesments you have you will got that number of error)
4 – Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools).
<h1 class="entry-title">Title</h1>
5 – Element “meta” is missing required attribute “content”.
<meta itemscope itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" itemid="http://www.example.com/post/"/>
6 – Element “styl”e not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.)
<style type="text/css" media="screen">
how we will solve these issues?
Regards
Hi
Our theme was built to respect the google standards in structured data regards and we didn’t do any tests with: https://validator.w3.org/ I’ve added this on our list and we will run some test to check if there is an incompatibility in html structure of the page. Meanwhile you can try to change or remove the role for search form by editing header-menu.php http://screencast.com/t/DzGjD3gLXF3
The pingback_url parameter should displays the pingback XML-RPC file url: http://screencast.com/t/l39D6FZuw9Q but in your case the url it’s empty. This issue could be caused by a plugin so you could try by deactivating all, leave just Visual Composer active, clear the cache ant test again.
Regarding the css errors these appear because it’s not recommended to use css code inside div tags.
The theme generate a custom css for each block, depending by user’s options, but this code cannot be included in style.css file. This problem it’s present on our demo too: http://screencast.com/t/UmG1YSWBEobU but does not affect the page load.
The theme use h3 tags for entry tiles but you can change that by modifying this functions: http://screencast.com/t/owy14wCxl
Thanks!
-
This reply was modified 10 years by
Andrei L..
Thanks for replying.
I think you forgot to reply to these questions
3 – Element “link” is missing required attribute “property.” (how many link statesments you have you will got that number of error)
5 – Element “meta” is missing required attribute “content”.
<meta itemscope itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" itemid="http://www.example.com/post/"/>
Regards
Hi
I did some research online and the last standards regarding data structure don’t require a content attribute for the indicated meta. The Google recommends this structure: https://developers.google.com/structured-data/rich-snippets/articles
<meta itemscope itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" itemid="https://google.com/article"/>
Also you can check this link https://schema.org/mainEntityOfPage for more details about mainEntityOfPage property.
I am not sure what you mean at css/js question but if you want to move this resources in footer please check our page speed documentation for more details: https://forum.tagdiv.com/how-to-make-the-site-faster/
If this is not what you mean please provide more details so I can get back to you with a more specific answer.
Thanks!
-
This reply was modified 10 years by
Andrei L..