Is alt text inside an img tag inside an h1 the same weight as text directly inside the h1?
-
Right now I use a background image and CSS to tie the h1 tag to my logo on each page. However, I am concerned that may not be best practice. Plus, I am interested in using schema markup on my logo.
So, my question is, if I use an image with alt text inside my h1 tag, will the alt text carry as much weight as a text-based h1?
-
I took a look at your site and your wording is slightly deceiving. You're not using alt img text. Your're using text inside of an <a>tag (aka a link) and then using css to overlay your logo. To use alt img text the image would have to be coded with an tag into your html, which it looks like it is but is currently commented out and not showing.</a>
<a>Either way you look at it, at least in my opinion, your h1 should never be the same on every single page. There should be one on each page and it should be unique to that page. The h1 is supposed to be the main heading/title of the page and essentially you're telling google that the main title of every single page on your website is your brand name, which is incorrect.
I'm not saying that leaving the brand name tied to your logo is wrong, but I don't think that it should be in a sitewide h1 tag.</a>
-
Hey Steven,
My understanding is that alt text has "similar" value as regular text. This is the language that was used in Google's SEO Starter Guide. I don't think that it carries the same weight, because they aren't using language like "identical" or "the same", they are using vague terms like "similar".
If you make your alt text descriptive, it will still have value.
Hope that helps
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
-
How long does Google takes to re-index title tags?
Hi, We have carried out changes in our website title tags. However, when I search for these pages on Google, I still see the old title tags in the search results. Is there any way to speed this process up? Thanks
Technical SEO | | Kilgray0 -
Two META Robots tags on a page - which will win?
Hi, Does anybody know which meta-robots tag will "win" if there is more than one on a page? The situation:
Technical SEO | | jmueller
our CMS is not very flexible and so we have segments of META-Tags on the page that originate from templates.
Now any author can add any meta-tag from within his article-editor.
The logic delivering the pages does not care if there might be more than one meta-robots tag present (one from template, one from within the article). Now we could end up with something like this: Which one will be regarded by google & co?
First?
Last?
None? Thanks a lot,
Jan0 -
Canonical tag or 301
Hi, Our crawl report is showing duplicate content. some of the report I am clear about what to do but on others I am not. Some of the duplicate content arises with a 'theme=default' on the end of the URL. Is this version of a page necessary for people to see when they visit the site (like a theme=print page is) in which case I think we should use a canonical tag, or is it not necessary in which case we should use a 301? Thanks
Technical SEO | | Houses0 -
Optimizing the homepage : should I have a h1 or not?
Hi everyone, I am launching a debate that may seem a bit basic for the most experienced of you 😉 In fact, after completing internships in two different agencies, I had quite opposite views of the optimization process for the homepage: View 1: The home page should be optimized on a keyword and should definitely have a h1. View 2: The home page is a branded page and should not necessarily have an h1 (unlike other pages). Bonus question: assuming that the view 1 is the right one, is it a good idea to put a h1 on the logo (only for the homepage) ? Thank you very much for your help
Technical SEO | | Axel_Janvier0 -
Logo / H1 page structure
Not sure why I did it this way, but I need to know if this is bad for SEO - I suspect it is. Consider this is how the Logo and company name is shown on each page of our site. # UpCounsel, Inc Where the #title tag has a background image showing our company logo, rather than the actual company words. Then the CSS is also displacing the company text in favor of the logo, but also helps with accessbility so the first thing they see on the site is the company name. My question is - I should probably not use an H1 tag for this, right? And then in order to change this around, I should use H1's for the important title of the page. I understand there is some question about whether the page <title>and H1 should be the same, but we don't need to go there right now. ;-)</p></title>
Technical SEO | | Mase0 -
Schema.org microformatting - itemprop within href tag?
I'm trying to implement microformatting on the site, specifically for the cities where we are active. I'm hoping this will help us rank in local search. This is what I have been doing: op="addressLocality">City Name In Google's Rich Snippets Testing Tool, that yields this: addresslocality = City Name However, I've also done this: City Name In Google's tool, that gave me this: addresslocality text = City Name
Technical SEO | | ufmedia
href = http://www.domain.com/webpage So which is better?0 -
Thumbnail-based navigation like YouTube Sidebar - they don't use ALT tag
Notice on the YouTube sidebar, each video has a thumbnail and a title. But, for the ALT tag, YouTube simply uses the word "thumbnail". In the past, i was using a keyword phrase for my thumbnail ALT tag. I thought I was being clever. But is this superflous? We note that the A tag on the YouTube items, encompasses the SPAN that is the video + title. Does Google associate the text of the title as valid "anchor text" despite the existance of other info in that span --- e.g. like View Count and the User Name of the video creator? Thanks!
Technical SEO | | anthony-3054420