How should a ALT TAG Be?
-
Hi All,
Can a ALT Tag have special characters?
Can i have my ALT Tag as
Image-explained-with-what-it-is?
Can i have - hyphens as this?
Thanks
I have a 2nd question
I have 100's of videos which has a ALT tag as
How can i deal with them?
Can i add the Video title as ALT Tag?
thanks
-
That's not ideal.
If you're trying to do this programmatically in a CMS, perhaps there's a way to do something like:
alt="Photo {Some Property}"
alt="{Some Property}"
alt="Photo"
Using "Null" is worse than leaving it blank, I think.
-
So these
Can be
Is this fine?
-
Just is correct that the primary purpose of alt text to assist the visually impaired. Therefore, you should provide descriptive, concise alt text for every relevant image. So no, do not place hyphen between every word. You can (and should) use hyphens, accent marks, etc. for words that need them in alt text.
For non relevant, redundant images such as bullets and purely decorate images, you should use null alt text (alt=""). This will signal the screen reader to skip over the image.
Hope that helps! (Christy)
-
The primary purpose of the alt tag is to assist those visually impaired visitors who are using screen readers. Just make the tag descriptive of the image it is replacing - alt="Photo of Pole Vault Accident". For video thumbnails, you should do the same thing if you can. The video title will work fine.
I consider SEO a secondary consideration for alt tags. You may want to include targeted keywords there. But really, if you're focus is usability, and if the image is relevant to the content of the page, then you'll satisfy SEO when you focus on the alt tags' usability.
There are a lot of other more high-impact factors you can focus on - both on-page and off. If you've gotten on-page optimization down to alt tags, you may want to spend more time on link building.
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
-
Optimizing images on website. Is it bad to use the same alt names and keywords?
I have a webpage that I have 6 separate images showing step by step instructions of how to use our product with a sentence describing instruction inside image. I took screenshots of the instructions from the products App and uploaded them to webpage because they provide a great visual. I want to make sure I optimize correctly, can I use the same keywords for all the image names?
On-Page Optimization | | artscube.biz0 -
Adding meta description tags to Drupal 6 content
It looks as if a quick improvement to the (inherited) site that I manage would be to add meta description tags to all our pages. But I don't see a user-friendly way to modify the html headers from within Drupal. I'm debating whether to interpose CSS code between Drupal and the final html content, but I'd face a steep learning curve on CSS. Can you suggest a more excellent approach? Thanks!
On-Page Optimization | | marcellu
John0 -
Image Tags And Titles
Hi, I am currently revamping my website with a new look. Some questions i have with regards to the images found on a page. I know that we need an alt tag for each image. This should not be keyword spammed. However, what about the title tag for the image? What is the best practice for image title tags? Should it be the same as the alt tag? Should it be different? Should I leave it blank? If I am running a wordpress platform for my website. The defaulted settings for wordpress is that all images inside a post are clickable. When clicked, the page loads from abcdef.com/page/ to abcdef.com/page/image.jpg. This seems to be generating alot of internal links but I don't see the value of loading an image when my visitors click on that. Should I let the image be clickable or remove the link on the image for best SEO practices? Thanks for your advice. paul
On-Page Optimization | | paulgian1 -
H1 tag in wordpress
Hi there! I'm having problems to locate the h1 tag in wordpress (in each page) in order to optimize the pages for SEO. When introducing text it starts with h2. Where can I locate it? Thanks in advanced.
On-Page Optimization | | juanmiguelcr0 -
Canonical tag?
I have an e-commerce website and the query strings of the URL's are causing duplicate content/titles. I'm thinking of adding a site-wide canonical tag which should fix them all. Any other ideas of making it neater or better?
On-Page Optimization | | KarlBantleman0 -
Duplicate Title and Meta Description Tags in Shopify with this App
Hello. I'm finding that by adding the Ultra SEO app in Shopify, I now have duplicates of the Title tags and Meta Descriptions. It looks like it's pulling title tags from the Shop info, the product or page titles as well as the Title tag I add in Ultra SEO. The website is 1bigcookie.com. The duplicate meta descriptions are from the text I entered in the meta description field in Ultra SEO. I entered the canonical url code shopify specifies to help with duplicate content, but what about duplicate title and meta description tags on the same page?
On-Page Optimization | | mymochamoney0 -
Prevent Indexing of URLs Based on Tags
I started my website as a blog over at Posterous, but decided to turn it into a full scale business website with a self-hosted WordPress theme. Shortly after transitioning from Posterous to WordPress, I noticed that Google was indexing not only my old blog posts, but the URLs of my blog posts based on the tags they have. Is there any reason why this is a problem? I'm sure it shouldn't qualify as duplicate content, but for some reason it just feels a bit sloppy to me to have all of these pages indexed...Is this a non-issue? Should I just be more discriminating with my use of 'tags' if it bothers me? JiGLH.png
On-Page Optimization | | williammarlow0 -
Does anyone have any opinions on whether to use a pipe | in your title tags? Or commas or just nothing at all?
I am trying to decided whether to use: BootsJeansandLeathers.com Mens Jeans Mens Boots Mens Leathers Mens Footwear OR BootsJeansandLeathers.com | Mens Jeans | Mens Boots | Mens Leathers | Mens Footwear as my title?
On-Page Optimization | | ebowdublin0