Does show/hide element with javascript impact SEO
-
Hi I am developing an ecommerce site and want to place text on all category and home page. The challenge is that 300 words of text for the pages does not fit into the design appropriately especially on the home page. If I were to use a show/hide element with javascript would this be seen as spam or a trick to the search engines.
I do not think it is spam as it will be actual content for the site and the visitor can view it if they click on the show button.
Would love to hear your thoughts?
-
Thanks, appreciate your thoughts
-
Ennovation and Malcolm are right - search engines will see the entire text, as long as the JS is just being used for show/hide (users without JS enabled will see the same thing).
As long as there is an option to show the text (i.e. it's not completely hidden from users), and the text itself isn't keyword-stuffed or spammy, I can't see a reason why search engines would consider it spam.
-
Google see the text anyway as it is hard coded into the html, the JS is only used on the front end to show the user so they can hide/show the text.
-
You can make with js a expand link or read more....
That will be ok... Search engines will see the entire text where as users will have to click to see the entire text...
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Hiding H1
I'm working on a site that has hidden H1 content. So for example: Video/Film Production with the page using the following codeVideo/Film Productionas the title. there are no other H1 tags on the page. I have taken this up with their dev and they have suggested this has to be implemented this way due to some issues with displaying in iOS. They are digging their heels in and suggesting it stays as is. How much of a risk would you say this is? Well i'm actually looking for a bit of a back-up here.
On-Page Optimization | | MickEdwards0 -
Showing more Duplicate Title Tags Than WMT
This is yet another question between moz vs google WebMaster Tools. In WMT it only shows 5 pages with a total of 18 duplicate titles. But moz is showing 298. It appears the duplicates are canonical links for the most part. What is the discrepancy?
On-Page Optimization | | jamavan0 -
SEO JOB
I am looking to hire someone who could help me to rank my page better: pediatric-dentist.org. If you are looking for a job and think you might be able to help me out please let me know thanks. I am looking to hire someone ASAP who could start ASAP. Good SEO practice for both of us. Thank you,
On-Page Optimization | | help4561 -
Does css float affect SEO?
It is generally believed that the closer the content is to the top of the page, the better it is for SEO. If that's incorrect, please let me know. I have a 2 column site where the left menu is navigation and right side is content. Obviously, the left menu appears in the code before the content does, but I can flip them around via css float. If I do that, the content will appear on the left visually, even though in the code it still comes after the left side navigation. Do either positions affect seo?
On-Page Optimization | | cmp1010 -
Software/tool for Content Inventory
Is there any tool out there which can crawl a section of a website (or whole website) and gives a list of urls by subsections? I have tried PowerMapper but it only gives visual map, not a list. Thanks!
On-Page Optimization | | StickyRiceSEO0 -
Nowadays is it fundamental renaming images for SEO?
Its it fundamental nowadays renaming images for SEO? Many photos are on top positions without being renamed like: mykeyword.jpg but can be 9876986.jpg instead. Doesn't itcount much more the contest in which they are such as text around photos, descriptions and context from internal and external linking pages? Renaming everyphoto, in every gallery can be considered over optimization? Is there any study showing the impact the single factor of renaming a photo in a page? Thanks
On-Page Optimization | | holidaysempire0 -
301 redirects / clean urls
hello everyone, we moved our site to a new platform that has url rewrite feature. we are building out a spreadsheet of the old aspx urls and the corresponding page on the new site. my dev tells me that its not important to redirect the old page to the new "clean url" page which sounds a bit odd to me ..example below. okay. so he says its the same difference to 301 redirect this url: http://72.3.181.97/catalog/DesignerDogBeds.aspx to this urls: https://www.k9electronics.com/product.php?productid=3474 instead of this clean url: http://www.k9electronics.com/designer-dog-beds/ can anyone give me any feedback on this? thanks!
On-Page Optimization | | k9byron0 -
Best Layout for Product Page SEO
Hi I am looking to revamp my website and would like to know your views on the best product layout for SEO - in particular if it better to have tabulated content like play.com http://goo.gl/4xdqp or non tabulated content like Amazon. http://goo.gl/cojKj Are there any pros or cons to each approach? I believe tabulated looks better and is easier to navigate but do the engines see this as hidden text? I have been told this is an issue with expandable divs. Many thanks David
On-Page Optimization | | DavidLenehan0