This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 5 - Pages: 1 - Last Post: 19-Dec-2017 16:59 Last Post By: hollycat2000
hollycat2000

Posts: 38
Registered: 4-Nov-2007
HTML5 compliance
Posted: 17-Dec-2017 21:58
 
  Click to reply to this thread Reply
I validated my website http://hollycat2000.jalbum.net/REMPstart2016/ (made with JAlbum 15.0.4 and Turtle 5.6.4.) on HTML5 compliance at https://validator.w3.org.
I did get a few errors I could restore in my .inc files, footer and added html.
But the last 3 errors are in the Turtle scripts which create the html script.

1. Error: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

From line 64, column 123; to line 64, column 147

a-tooltip><img src="res/LOGO2.GIF"></a>↩
1. This occurs with the logo which you can add in JAlbum Settings for Turtle. According to html5 there should be an alt attribute with an image. Other img's go well. I think alt="Logo" should be added.

2. Error: Bad value generator for attribute rel on element <a: The string generator is not a registered keyword.

From line 213, column 32; to line 213, column 137

er-links"><a href="https://jalbum.net" rel="generator" target="_blank" title="Get jAlbum now!, 15.0.4" data-tooltip>jAlbum

3. Error: Bad value generator for attribute rel on element a: The string generator is not a registered keyword.

From line 213, column 172; to line 213, column 254

/a> & <a href="http://lazaworx.com/" rel="generator" target="_blank" data-tooltip="#stt">Turtle
2 and 3 are the courtesy links at the bottom of the page for Jalbum and Turtle. "generator" in the script isn't a right value for the rel attribute. I think it should be rel="external".

I prefer not to change the standard Jalbum/Turtle scripts. Could these errors be resolved in the JAlbum/Turtle scripts?
greetings H.
Laza

Posts: 9,885
Registered: 6-Sep-2005
Re: HTML5 compliance
Posted: 18-Dec-2017 13:14   in response to: hollycat2000 in response to: hollycat2000
 
  Click to reply to this thread Reply
Hi,

The logo image doesn't have ALT text, because the skin has no idea what's the image is about (it's added by the user), and the purpose of the ALT text is to provide a clue for those using screen readers. Naturally, I could give an ALT text anyway, but that's "design for robots" - google suggests to avoid -, and the visually impaired people won't be happy with a filename either.

The rel="generator" marks that the links lead to the generator tool, and is accepted by google. Every Wordpress page has the back links this format too:
<a href="http://wordpress.org/" rel="generator">Proudly powered by WordPress</a>

This was necessary to avoid "link spamming" we were accused by Google. Validator isn't up to date every time, and if there's something it coughs up it doesn't mean the page does anything wrong.
hollycat2000

Posts: 38
Registered: 4-Nov-2007
Re: HTML5 compliance
Posted: 18-Dec-2017 23:07   in response to: hollycat2000 in response to: hollycat2000
 
  Click to reply to this thread Reply
too bad, thanks for answering my question

Edited by: hollycat2000 on 18-Dec-2017 23:08
Laza

Posts: 9,885
Registered: 6-Sep-2005
Re: HTML5 compliance
Posted: 19-Dec-2017 13:20   in response to: hollycat2000 in response to: hollycat2000
 
  Click to reply to this thread Reply
hollycat2000 wrote:
too bad, thanks for answering my question
Can you point me where this validation counts?
jGromit

Posts: 33,462
Registered: 31-Jan-2006
Re: HTML5 compliance
Posted: 19-Dec-2017 13:31   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Validation is a handy way of making sure you're not making any stupid mistakes - one of the reasons I like Total Validator is that it also checks your links, and warns you if they're pointing to non-existent pages. But there are no prizes for "passing" validation, nor are there any penalties for getting some errors or warnings.

The "majors" don't worry about it much. Try plugging https://www.google.com into a validator.
hollycat2000

Posts: 38
Registered: 4-Nov-2007
Re: HTML5 compliance
Posted: 19-Dec-2017 16:59   in response to: hollycat2000 in response to: hollycat2000
 
  Click to reply to this thread Reply
@Laza: at the moment I don't know any issues and I really don't want to come across any.

@Gromit: Yes I know, but when some use non-standard tags or values it will get complicated for the different browsers to view your website the way you intended it to view. Also for the different Search engines that will crawl your pages. What will they do with a unknown rel(ation)? Ignore, fault it. I don't know. That's why I prefer to use the agreed standard. I had a page made in 1999 which viewed perfectly but had almost everything not according to nowadays standard. I can imagine that it will do nothing good for the performance (and I can't proof that either). So I changed it to html5 with a css.

But that's enough discussion for now. I'll just wait till wordpress will apply for 'generator' to be added tot the value list ;-)
greetings H.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums