Difference between revisions of "Template:Click"
MyWikiBiz, Author Your Legacy — Saturday November 23, 2024
Jump to navigationJump to searchLine 1: | Line 1: | ||
<includeonly><div style="position:relative; width:{{{width}}}; height:{{{height}}}; overflow:hidden;"><div style="position:absolute; font-size:{{{height}}}; overflow:hidden; line-height:{{{height}}}; letter-spacing:{{{width}}};">[[{{{link}}}|<span title="{{{title|{{{link}}}}}}" style="text-decoration:none;"> </span>]]</div>[[Image:{{{image}}}|{{{width}}}|{{{title|{{{link}}}}}}]]</div></includeonly> | <includeonly><div style="position:relative; width:{{{width}}}; height:{{{height}}}; overflow:hidden;"><div style="position:absolute; font-size:{{{height}}}; overflow:hidden; line-height:{{{height}}}; letter-spacing:{{{width}}};">[[{{{link}}}|<span title="{{{title|{{{link}}}}}}" style="text-decoration:none;"> </span>]]</div>[[Image:{{{image}}}|{{{width}}}|{{{title|{{{link}}}}}}]]</div></includeonly> | ||
<noinclude> | <noinclude> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | This template attempts to superimpose an invisible link on an image. It doesn't work in [[Safari (web browser)|Safari]], in text-only browsers, and in screen readers for the disabled, and possibly other situations. The technique of using [[Cascading Style Sheets|CSS]] to change page content also completely breaks an article's [[web accessibility]] by contravening a [[WAI]] priority-one checkpoint.[http://www.w3.org/TR/WAI-WEBCONTENT/#tech-order-style-sheets] Please try to avoid using this template unless absolutely necessary. | ||
+ | |||
+ | See also [[Template:Titled-click]], and [[m:Template:Click]]. | ||
+ | |||
+ | [[Category:Wikipedia workaround templates]] | ||
+ | |||
+ | |||
+ | </noinclude> |
Revision as of 19:17, 7 December 2006
This template attempts to superimpose an invisible link on an image. It doesn't work in Safari, in text-only browsers, and in screen readers for the disabled, and possibly other situations. The technique of using CSS to change page content also completely breaks an article's web accessibility by contravening a WAI priority-one checkpoint.[1] Please try to avoid using this template unless absolutely necessary.
See also Template:Titled-click, and m:Template:Click.