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
-
Url lenght/depth - Short or specific?
Hi, I'm trying to decide the best structure for a directory my site offers (containing all the businesses working in the field) and I'm not sure whether to choose something shorter or being more specific. So, I have 3 variables: Type of business (I mean, specific sector) Region City And I'd like to give some strength to every one of it. So, the complete URL (the one I'd like to use) could be: www.mysite.com/sector/region/city/business-name What I was not sure about is...is that too deep? I mean, even thought I'd like to perfectly categorize them and give some strength to every sublevel, I'm not sure about having the business-name so "far" and so "deep". Thank you for your ideas!
On-Page Optimization | | Daniele_Carollo0 -
SEO Title Tag Best Practice?
Hi, I would like to know if appending site name at the end of page title ( page title -_ Site Name/Site URL_ ) is a good/bad practice in reference to SEO? If a good practice which is better ( Site Name or Site URL )? Example: 20 Things you didn't know about zombies - coed.com Thanks in advance
On-Page Optimization | | COEDMediaGroup0 -
Infinite Scrolling Long Lists and SEO
Just curious if anyone else has tried this. I have pages with words that link to definitions. I have A LOT of them on a page and I am starting the process of trying to either do pagination (which I cant stand) or even cooler infinite scrolling where the page loads more words as the user scrolls. Good Bad for SEO?
On-Page Optimization | | cbielich0 -
SEOmoz and Wordpress SEO plugin
I made a lot of changes with Wordpress SEO by Yoast before I signed up with SEOmoz. But SEOmoz doesn't seem to see those changes. I am still being told I have multiple meta descriptions. I don't know why but SEOmoz is seeing the default meta description and not the one I wrote using the Yoast plugin. How can I get SEOmoz to see those changes? Edit: Google has not updated all the changes I made with Wordpress SEO.
On-Page Optimization | | dealblogger0 -
How do I get other pages to show in SERPs
Why is it that when you google a domain like yahoo.com you sometimes get a main SERP and 6 sub SERPs below it. This concerns the 1st position.
On-Page Optimization | | ribandhull0 -
How is my on-site SEO looking like?
I know this is a broad question. My site's content has been written more than one year ago and haven't been changed so far. Our main goal is to make the application hosted in the site work better every day, so we don't worry much about writing content. The URL is http://www.onlinelogomaker.com
On-Page Optimization | | rpedri0 -
SEO for Image only posts
Let's say I have a post where I show 25 different wood textures. I start the post with a small paragraph and then I show several images of wood textures linked to an internal or external page. Since I don't use a text link, then I have to rely on alt tags. It would be very difficult to assign a different alt tag to so many similar images, and I guess there would be a risk of keyword stuffing (walnut wood, oak wood, etc). On the other side, if I assign the same tag to all images, then that clearly is keyword stuffing (alt=wood textures). This is just an example, but it applies to most of my posts. What do you think I should do with the alt tags? Thanks!
On-Page Optimization | | enriquef0 -
On Page SEO Tool
Hello - I'm looking for one tool that does the following and was wondering if anyone knew of such a tool? In a perfect world I would like to enter in one domain name and have a report generated that shows All Internal links, link titles, and anchor text All internal broken links / redirects All images, image size and image alt, if the image alt is missing. I'd love to be about to export these reports to excel and quickly run my on page optimization. The goal is to produce a checklist for a developer to execute quickly. Thanks for your help Gabe
On-Page Optimization | | Gabe0