Alt Text!

  • 1
  • Question
  • Updated 9 years ago
  • Answered
can someone or an employee tell me what on my home page is this... templates/innovate/resources/common/images/logo.jpg and how I can add alt text to it?
Photo of Donald

Donald

  • 2991 Posts
  • 37 Reply Likes
  • http://youcanneverbetoosmart.synthasite.com

Posted 9 years ago

  • 1
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
Its probably the default banner and if it is you can not add alt text to it - where have you got that resource adress from?
Photo of Donald

Donald

  • 2991 Posts
  • 37 Reply Likes
oh... you're probably right... I got it from website grader... it takes points away because the alt text is missing... but hey, I have a grade of 68 :)
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello Donald,
Yes The Duke is correct on this. It is not possible to edit the code for that image to include alt text. You can add alt text to any images that you place on your pages though.

Emmy
Photo of Donald

Donald

  • 2991 Posts
  • 37 Reply Likes
yes, I learned that... it's just a simple code that starts something like this img****
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hi Donald,
If you add an image to your page using the image widget you can add alt text to the image by clicking on the image and then going to the Properties Tab on the Content Sidebar:



You can add alt text for images added with the text widget, but to do this you will need to edit the HTML.

1) Click the HTML button at the end of the text editing toolbar.

2) A dialog box will open up with the HTML for your text widget. Look for the code for your image. It will start with `. Your images will then have an alt attribute.

Hope this helps!

Emmy
Photo of Donald

Donald

  • 2991 Posts
  • 37 Reply Likes
yes it does, I didn't know that... thank you Emmy... can you do this with the banner? I believe the banner is showing "alt text missing" on website grader.
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Unfortunately not, the banner image is hard coded into the CSS and the code can't be added to. But you can definitely add this to any images you add to the pages.
Photo of Donald

Donald

  • 2991 Posts
  • 37 Reply Likes
If you generate a code for a new banner, can you do it then?
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
The banner image area is set by the CSS so to change it we needed to give users a way to do this without having to edit the code. That is why you can click on that white box in the banner image and choose a banner to upload into that area it automatically inserts it into the code. So it is not possible to edit the code of the banner image even if you upload your own. Things that you add to the page that are not hard coded into into the style can be edited using the html widget. I hope that makes sense. Let me know if you have further questions.
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
i really would not worry to much that the grading site says it needs alt text, remember that is just a machine working that out - as a human i can tell you that it having no alt text doesnt make any difference in the real world. Lee. :)
Photo of Donald

Donald

  • 2991 Posts
  • 37 Reply Likes
yes, I know it doesn't in the real world (for us humans) but having certain things like that perfectly optimized can make the "machines/bots" grade your site better including google ranking.
Photo of KanThaiDecor

KanThaiDecor

  • 2402 Posts
  • 263 Reply Likes
After I added alt tags to my product images I started getting more image referrals showing on Analytics.