Images nested in Buttons and alt text

amwdmw
amwdmw Community Member Posts: 97
Next up...buttons.  I have image buttons that I have used throughout the course.  I am being told that the images nested within buttons must have alt text.  The images have names, I have the "empty alt tag" box UNCHECKED...how do I accomplish the image alt text?  If I add verbiage in the description box, will that work?  Do I need to hide a text box underneath the button?  Thoughts?

Comments

  • timk
    timk Community Member Posts: 1,239 ✭ Legend ✭
    The alt tag usually contains the name of the object in the Title Explorer.
  • amwdmw
    amwdmw Community Member Posts: 97
    Does this work for buttons as well?  Maybe I just need to name the button something else.  For example, I have  "Go to next page" as the button name (in the Title Explorer) - maybe I should name it "Next yellow arrow" instead?  I'll go back on my end and ask, but it seems like it can't be that simple....that something else is needed.
  • timk
    timk Community Member Posts: 1,239 ✭ Legend ✭
    Alt tags exist for buttons as well. I don't think you can add an alt tag for each image the button is made of, but why would you? Alt tags are for screenreaders and similar assistive software. Screenreaders are for people who can't see properly so there's no need to inform them which image they could have seen. They need to know what the button does if clicked , i.e. "Go to next page" is a good alt tag. They wouldn't use a mouse anyway, as using a mouse requires seeing the screen, they'd use the keyboard.

    The alt tag is also displayed as a tooltip when the mouse is moved over it. Here "Go to next page" is better than "Next page - yellow arrow" as well.

    To check how your alt tags work, you'll have to publish the course, in preview there are no alt tags.