This shows you the differences between two versions of the page.
notices:html-css:renseigner-l-attribut-alt-de-chaque-image-mappee-et-de-ses-balises-area [11 June 2013 at 14:38] Sébastien Delorme (Atalan) [Related recommendations] |
notices:html-css:renseigner-l-attribut-alt-de-chaque-image-mappee-et-de-ses-balises-area [11 September 2013 at 16:49] (current) jramon [5.3.1. Enter the alt attribute to each image map and corresponding <area /> tags] |
||
---|---|---|---|
Line 3: | Line 3: | ||
Whenever an image map is included in the HTML code: | Whenever an image map is included in the HTML code: | ||
- | * • An ''alt'' attribute must be added to the ''<img />'' tag, as well as to each ''<area />'' tag. | + | * An ''alt'' attribute must be added to the ''<img />'' tag, as well as to each ''<area />'' tag. |
- | * • The ''alt'' attribute of the ''<img />'' tag must state the purpose of the image map. | + | * The ''alt'' attribute of the ''<img />'' tag must state the purpose of the image map. |
- | * • The ''alt'' attribute of each ''<area />'' tag must state the purpose of the link. | + | * The ''alt'' attribute of each ''<area />'' tag must state the purpose of the link. |
For example, imagine a map of the United States in which you can click on each state to obtain more information about the state: | For example, imagine a map of the United States in which you can click on each state to obtain more information about the state: |