Difference between revisions of "Template:Access icon/doc"
Jump to navigation
Jump to search
blackwiki>Remember the dot m (formatting) |
blackwiki>Lensovet (better wording, describe default text value) |
||
| Line 6: | Line 6: | ||
* The width is in pixels, and should be followed by px. For example, <code><nowiki>{{Access icon|20px}}</nowiki></code> produces the symbol at 20 pixels wide: {{Access icon|20px}}. If the width parameter is omitted, the default width is 12 pixels. | * The width is in pixels, and should be followed by px. For example, <code><nowiki>{{Access icon|20px}}</nowiki></code> produces the symbol at 20 pixels wide: {{Access icon|20px}}. If the width parameter is omitted, the default width is 12 pixels. | ||
| − | * The alt text is the text that screen readers will see | + | * The alt text is the text that screen readers will see and is displayed by web browsers in a [[tooltip]] when users mouse over the image. The default text is ''Handicapped/disabled access''. |
<includeonly> | <includeonly> | ||
Revision as of 06:23, 10 July 2007
Usage
{{Access icon|width|alt text}}
Both the parameters are optional.
- The width is in pixels, and should be followed by px. For example,
{{Access icon|20px}}produces the symbol at 20 pixels wide:
. If the width parameter is omitted, the default width is 12 pixels.
- The alt text is the text that screen readers will see and is displayed by web browsers in a tooltip when users mouse over the image. The default text is Handicapped/disabled access.