I keep getting SEO errors saying: Error Count 3; Description The tag does not have an ALT attribute defined.
Then it shows me the page source with it looking like this:
but when I went into the header to change it to:
it didn’t look like that. I was told because it’s in php and not in html. How do I fix it? I have 3 images, but I’m only worried about the header image that’s here.
Since the header image is handled by WordPress’s custom header function there is no way to let the user edit the alt tag, so its not included. Most of search engines should be able to recognize it as a header based off the surrounding code.