I’m currently working on a project where we use a half-baked CMS. Parts of the site, controlled by the CMS, is not editable in the CMS backend. So the company that delivers the CMS suggests that we use jQuery to manipulate the HTML content on these pages.
To me this is a bad idea – mainly because I strive to separate content, design & functionality.
This is a philosophy that has served me well in the past – I find that it’s easier to version a site to various platforms and achieve a good, accessible website if I follow these principles.
But I’m looking for more ammunition, e.g. what does this do to SEO? Can Google’s spiders access the manipulated content?
Is there other reasons why it’s bad practice to manipulate HTML content with JavaScript?
I would definitely agree that it’s not the best idea.
Typically search engines will not execute the Javascript and will read the pre-altered code.