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
-
SEO question
why does a business rank differ on google search and google maps (for example, a hair salon we do seo for ranks 5th for "hair salon in Dublin" on Google Maps and ranks 10th on Google search)
On-Page Optimization | | ryan.mamma0 -
Fetch as Google is showing this, help!
Our Fetch as Google in Google Webmaster Tools is showing this. What is this?? Thanks! https://imgur.com/k6KOQZz
On-Page Optimization | | bluejay78780 -
Need Some Quality Vs. Quantity SEO Advice
We have a gallery here with our main categories of patches. https://www.stadriemblems.com/gallery/ If you click on one, say Fire Patches, you'll be taken to a page of just fire patches. https://www.stadriemblems.com/fire-patches/ But here's the kicker: If you notice of the fire patch page, there are also sub-categories to that. So if you click on say, Fire Rescue, you get taken one level deeper. https://www.stadriemblems.com/fire-patches/fire-rescue-patches/ I'm redoing this entire site (a project over five years overdue), and I'm wondering if it's really worth it to keep these three-level deep sub pages. I originally created them with long tail SEO in mind, making us be the only ones who come up when people search for very specific patches. But it's a big undertaking to redo all of them, and are they really adding any value?
On-Page Optimization | | UnderRugSwept0 -
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 -
Same pdf attachments placed on more websites good for seo?
Hi I would like to ask if it is duplicate content if I place on my website article with pdf attachment-the same pdf attachment is placed on more websites. Worldwide company made article (short article and some photos) with special offer in pdf, this pdf file is placed on more sites. How google handle with this file? Can google read text inside?
On-Page Optimization | | joeko0 -
Swear Filter - SERP Impact
My forum currently has a swear filter in place. While I personally think in most cases there's better alternatives to swearing, the general consensus is that it should be removed, and I've no problem with that in principal, however my concern is that Google may penalise the site in some way if this is done. I've searched around a fair bit and haven't found any solid info on this so hoping someone on here may know the answer. The question - Can repeated swear words effect rankings or prevent a website displaying in Google if safesearch is on? Thanks as always.
On-Page Optimization | | Optimise0 -
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 -
Are you SEO master? What would you change on my page?
Take a look at this page and tell me what would you change from SEO perspective. It's always to easy to criticise so here is your chance. Good Luck. http://www.traxnyc.com/mens_jewelry.html
On-Page Optimization | | DiamondJewelryEmpire0