Alt Text and Title Attributes
You can accomplish much of the work of making your content accessible by setting alt and title attributes on various elements—such as links, images, forms, and multimedia. These two attributes, although similar, are not identical.
- Alt An alt attribute is intended to provide alternative information for elements that cannot be seen (e.g., visually impaired individuals cannot see images in your output). The alt attribute text should briefly describe what the element is about.
- Title A title attribute is created when you add screen tip (or tool tip) text for an element. The title attribute text should provide additional information about the element.
Table of Alt and Title Elements
Following are the different types of elements for which you can set alt and/or title (screen/tooltip) attributes.
Element |
Alt Attribute (Alternate Text) |
Title Attribute (Screen Tip) |
---|---|---|
Audio (Links and Embedded) |
|
|
Cross-References1 |
|
|
Equations |
|
|
Images |
|
|
Movies (Links and Embedded) |
|
|
QR Codes |
|
|
Text Hyperlinks1 |
|
|
1When you add a screen tip a <title> tag is created in the markup. |