W3C errors

GK User
Wed Jan 21, 2015 9:40 am
We build our website with you template. We are optimising the result but we face a lot of W3C errors.
Your own demo site has a lot of them. Example;
https://demo.gavick.com/joomla25/events/index.php/template/pages/articles/single-article
Just a single article has 3 W3C errors.

Most of them cannot be solved in the backend, but the PHP needs to be modified.
Do you have plans to make your templates W3C compliant?
User avatar
Senior Boarder

GK User
Thu Jan 22, 2015 7:57 am
W3C should never be treated explicitly. Its just a guide line. Those errors are because of xml language use for social elements like facebook or twitter.
User avatar
Moderator

GK User
Thu Jan 22, 2015 4:50 pm
Cyberek wrote:W3C should never be treated explicitly. Its just a guide line. Those errors are because of xml language use for social elements like facebook or twitter.


I do not agree.
The contact page of this template:
https://demo.gavick.com/joomla25/events/index.php/template/pages/contacts
Has a code error:
The align attribute on the img element is obsolete (align="middle" )
This is wrong in the PHP.
User avatar
Senior Boarder

GK User
Thu Jan 22, 2015 7:39 pm
I was referring to page you have mentioned. I have checked that one.
I'll post a suggestion to our devteam to check against w3c.
User avatar
Moderator

GK User
Thu Jan 22, 2015 7:40 pm
If you have more of them - please post links to demo server where you remember the errors were.
User avatar
Moderator

GK User
Wed Jan 28, 2015 11:58 am
Some more errors.

News:
https://demo.gavick.com/joomla25/events/index.php/news
Line 233, Column 57: Attribute pubdate not allowed on element time at this point.
Line 272, Column 57: Attribute pubdate not allowed on element time at this point.
Line 311, Column 57: Attribute pubdate not allowed on element time at this point.

Page-Breaks:
https://demo.gavick.com/joomla25/events/index.php/template/template-features/page-breaks
Line 259, Column 47: The element h3 must not appear as a descendant of the dt element.
Line 263, Column 47: Element h3 not allowed as child of element span in this context.
Line 268, Column 47: Element h3 not allowed as child of element span in this context.
Line 272, Column 47: Element h3 not allowed as child of element span in this context.
User avatar
Senior Boarder

GK User
Fri Jan 30, 2015 1:05 pm
Ok.
User avatar
Moderator

GK User
Mon Mar 30, 2015 2:51 pm
Some changes was fixed meanwhile and will be available with next template release.
Some of errors was caused not by our template but by core Joomla extensions (the page break validation errors comes from the system plugin).
User avatar
Moderator


cron