What Is This Line Of Code About?
Autor: James Becker
Visitado 1717,
Seguidores 1,
Compartilhado 57
What is this line of code about?
<a class="imHidden" href="#imGoToCont" title="Skip the main menu">Go to content</a>
I find it in every page generated by X5
Publicado em
Autor
Anyone have a thought about this??
Hello James,
That line of code is about your site's accessibility. Normally CSS hides it so it is not displayed by the browser and the visitor doesn't see it.
When a blind visitor (or someone with a general disabling illness) get on your site, his browser does not load CSS and parse directly the HTML code. In this way he get more links to navigate trough the page content.
For more infos I suggest you this page: http://www.w3.org/WAI/
Hi James
I made pretty bad experience with this class name 'imHidden'. This was introduced with V9.
The problem is following: The headers (h1, h2, h3) are equipped with this 'imHidden' class. Usually the text in the headers has a relation to the page. So far all OK. But Google seems to make a downgrading, when such a class name is used. That means the page related texts in the headers results in a negativ weighting of these important expressions.
This could be a real problem. Unfortunatelly Incomedia did not made any changes till now.
I made a simple work-around: after creating all the files, I renamed all 'imHidden' with something else (eg. 'imHead'). This works, but then you can't use the 'direct export to internet' function from WebSite. (this is very annoying!)