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
-
Using a hyphen in title tags and the impact of spaces
Hi I am trying to arrive at a best practice template for a title tag for my organization so does the following template still holds Primary Keyword - Secondary Keyword | Brand Name will anything be impacted if I eliminate the spaces between the hyphen, will search bots be still able to treat the first one as a priority and the second as the secondary? Primary Keyword-Secondary Keyword | Brand Name thank you
On-Page Optimization | | lina_digital0 -
Duplicate Content and Other Issues from Blog Tags and Categories
I have recently taken over the maintenance/redesign of our website and after setting up Moz I see many errors:
On-Page Optimization | | jgoethert
Duplicate content
Missing descriptions
Duplicate titles
etc. All are related to blog categories and tags. My questions are: are these errors hurting us? Should I simply remove tags/categories from the sitemaps or bite the bullet and create content for every single category page? Our site is https://financiallysimple.com/ and we are using Yoast plugin in Wordpress (if that helps)2 -
I seem to have about 10 ### tags in the sidebar. Should they be removed?
A plugin inserts H3 tags in sidebar 'read more' type links. They are tangentially related to the content (as the whole site is on ice hockey), but not directly related. Will Google think these are part of the content and be a little confused on the subject matter or is it smart enough to realize this is Sidebar material? Do I need to take action/be concerned? thanks
On-Page Optimization | | BrvceTHW0 -
Is it OK to shorten your brand name in your title tags
If your title tag is over 55 characters, is it generally OK or good practice to abbreviate your brand name (at the end of the title tag) for the sake of the other keywords in the tag?
On-Page Optimization | | AliMac261 -
Should we add our company's name in page title tag or not?
We have been adding our company (Townscript) name in all the page titles. For example, in an event page of Lucknow Conclave: www.townscript.com/lucknowconclave the page title is Lucknow Conclave | Alexis Society | Townscript I read somewhere that it's not necessary to put your company's name in the title tag. Is it right? Please help!
On-Page Optimization | | sanchitmalik0 -
Trying to SEO a site that used Header Tags for Design
I am trying to SEO a website that was built years ago and uses Header tags for design. The site must have 25 and tags used for design purpose. Is there any way to work around this problem? Perhaps a code that tells Google to ignore these as Headers? The web designers say that they are looking to fix the problem sometime this summer but you never know if that means it a month away or years away. I really want to help this website but I believe that the Header tags are one of the reasons that his site does not show in the top 100 rankings for any keywords. Any help would be great. www.wallybuysell.com Chris.K
On-Page Optimization | | CKerr0 -
Using Robots Meta Tag on Review Form Pages
I have gone over this so many times and I just can't seem to get it straight and hope someone can help me out with a couple of questions: Right now, on my dynamically created pages created by filters (located on the category pages) I am using rel""canonical" to point them to their respective category page. Should I also use the robots meta tag as well? Similarly, each product I have on my site has a review form on it and thus is getting indexed by Google. I have placed the same canonical tag on them as well pointing them to the page with the review form on it. In the past I used robots.txt to block google from the review pages but this didn't really do much. Should I be using the robots meta tag on these pages as well? If I used the robots meta tag should I noindex,nofollow? Thanks in advance, Jake
On-Page Optimization | | jake3720 -
Nofollow images to sculpt internal anchor tags
One of my client tags image-links with nofollow if those links are before a regular HTML link in the source code, e.g.:
On-Page Optimization | | Sebes
.
.
.
Check our page aboutreally cool shoes. They do this to "better pass anchor tags" to the page /page-about-shoes.html. My question: Is this a good practice to do? Thanks Sebes0