WebSite X5Help Center

 
James Becker
James Becker
User

What Is This Line Of Code About?  en

Autore: James Becker
Visite 1712, Followers 1, Condiviso 57  
Parole Chiave: code,imhidden

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

Postato il
3 RISPOSTE - 1 UTILE
James Becker
James Becker
User
Autore

Anyone have a thought about this??

Leggi di più
Postato il da James Becker
Incomedia
Claudio N.
Incomedia

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. Wink

For more infos I suggest you this page: http://www.w3.org/WAI/

Leggi di più
Postato il da Claudio N.
D. Reimann
D. Reimann
User

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!)

Leggi di più
Postato il da D. Reimann