In our reports we get alt tag errors for our banner images. We are unable to add alt tags to the banner images as they live inside CSS. We can add a title tag on the div title for the banner. Does that help with SEO and accessibility?
-
We are unable to add alt tags to the banner images as they live inside CSS. We can add a title tag on the div title for the banner. Does that help with SEO and accessibility?
-
Instead of using javascript, will adding a title tag within a div help with SEO and accessibility?
-
DIV are divides and are used to split areas of a page up.
They act as containers for text, images other divs etc...I'd replace the divs with spans where they lie within paragraphs of text etc...as for you alt question...
check out:
http://www.meyerweb.com/eric/css/edge/popups/demo.htmlSo the answer to your question is yes, you can generate alt text using javascript using the html tag of the div
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
-
DO outbound links to manufacture specs, pdfs help or hurt SEO?
I am creating an e-commerce site. All the products have product certification documents/images, PDF docs for instructions, manufacture specs, etc. Should I host all this content or simply link to the original documents and content? What is the best for SEO? Thank you,
Intermediate & Advanced SEO | | Jamesmcd030 -
How much is the importance of grammar and formation of sentence in Meta Title and Description in SEO
We are having, say around 100 products, cakes to be specific, with different flavors, available in more than 100000 areas of 200 plus cities. Now to make it SEO friendly, we have an algorithm which creates a unique page for each cake name, with area name, and few keywords, so that if customer is searching for cake delivery in any specific area of specific city, the user will easily find the right page. Now the thing is - when creating such unique pages for different combinations of cake, city and areas, it is also creating some content. So we wanted to know how much is the importance given to Grammatically correct statement compared to incorrect statement in ranking a page. for example: there is 1Kg Chocolate Cake, available in Satellite Area of Ahmedabad city, which one of the following Page title will have higher ranking? Case A: Send 1Kg chocolate cake to satellite area ahmedabad online Case B: Online 1kg Chocolate Cake delivery in Satellite Ahmedabad In Case A: the statement contains all keywords, but there are some grammatical mistakes in formation of statement as well as Capital Characters are not used for Satellite (Area name) and Ahmedabad (City name) In Case B: the statement is grammatical proper, as well as capital characters are used for Area name and City name. Does all search engine also have their algorithm designed to analyze the grammatical structure of page title or it just scans the keywords? Thanks in advance. Team Midnightcake
Intermediate & Advanced SEO | | midnightcake1 -
Anyone actually getting a noticeable SEO boost from a Bitly or TinyURL backlink?
Hi, I'm looking for an example/use case of someone whose site has been linked to from another using a Bitly, or other generic URL shortener link. I'm specifically interested in proving/disproving the value of the backlink in terms of boost in SEO rankings. Ideally you somehow got a juicy backlink from a reputable site, but they accidentally linked to you using a Bitly or something, yet you saw a noticeable increase in your pages search rankings, thus proving the value of a Bitly link still passing all SEO value. Or alternatively, you got that juicy backlink and noticed nothing at all, or not much, and are frustrated that they used a BItly. I'm launching a study on this soon to identify the possible value behind short links as backlinks. Yes, I know that Matt Cutts says all short links are 301 redirects which passes something like 99.9% of link juice. I'd just like to see some use cases on this. Thanks!
Intermediate & Advanced SEO | | Rebrandly0 -
Is it alright to repeat a keyword in the title tag?
I know at first glance, the answer to this is a resounding NO, that it can be construed as keyword stuffing,
Intermediate & Advanced SEO | | MIGandCo
but please hear me out. I am working on optimizing a client's website and although MOST of the title tags
can be optimized without repeating a keyword, occasionally I run into one where it doesn't read right if I
don't repeat the keyword. Here's an example: Current title:
Photoshop on the Cloud | Adobe Photoshop Webinars | Company Name What I am considering using as the optimized title:
Adobe Photoshop on the Cloud | Adobe Photoshop Webinars | Company Name Yes, I know both titles are longer than recommended. In both instances, only the company name gets
truncated so I am not too worried about that. So I guess what I want to know is this: Am I right in my original assumption that it is NEVER okay to
repeat keywords in a title tag or is it alright when it makes sense to do so?0 -
Please help :) Troubles getting 3 types of content de-indexed
Hi there,
Intermediate & Advanced SEO | | Ltsmz
I know that it takes time and I have already submitted a URL removal request 3-4 months ago.
But I would really appreciate some kind advice on this topic. Thank you in advance to everyone who contributes! 1) De-indexing archives Google had indexed all my:
/tag/
/authorname/
archives. I have set them as no-index a few months ago but they still appear in search engine.
Is there anything I can do to speed up this de-indexing? 2) De-index /plugins/ folder in wordpress site They have also indexed all my /plugins/ folder. So I have added a disallow /plugin/ in my robots.txt 3-4 months ago, but /plugins/ still appear in search engine. What can I do to get the /plugins/ folder de-indexed?
Is my disallow /plugins/ in robots.txt making it worse because google has already indexed it and not it can't access the folder? How do you solve this? 3) De-index a subdomain I had created a subdomain containing adult content, and have it completely deleted it from my cpanel 3months ago, but it still appears in search engines. Anything else I can do to get it de-indexed? Thank you in advance for your help!0 -
How can we improve the seo on our site?
Hello everyone. I have been reading through this site for a while and tried to put everything together that I have learned so far. Would any of you mind looking at our site and providing any pointers or areas we can still improve on or areas I completely missed. I appreciate any feedback you can give! Our site is faithology.com Thanks again! Brandon
Intermediate & Advanced SEO | | BMPIRE0 -
Best Practice for ALT tags of flags to interlink multinational site
For a partial keyword match domain name what would you recommend as ALT tag to internlink country domains (different CCTLD)? Option 1)
Intermediate & Advanced SEO | | lcourse
DOMAIN.com DOMAIN.de DOMAIN.co.uk => I am a bit concerned about this option in terms of potential penalty for keywords in ALT (since partial match domains) Option 2)
UK
DE
FR ... Option 3)
English UK
Deutsch Deutschland
Deutsch Österreich
Francais France => concerned here about mixing lots of languages in ALT tags in each page, which may confuse google language detection.0 -
Dynamic numbers in meta title - can it harm SEO?
We are creating an online shop with thousands of products. And i want to put total product number in index title, each day/week it will increase. This would be interesting for visitors to see. But would be it be good for SEO? For example title: "Brand - Buy Toys Online, We Have More Than 10659".
Intermediate & Advanced SEO | | bele0