Difference between revisions of "Template:Click"

MyWikiBiz, Author Your Legacy — Wednesday December 25, 2024
Jump to navigationJump to search
 
m (Protected "Template:Click" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
 
(4 intermediate revisions by 3 users not shown)
Line 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;">&nbsp; &nbsp;</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;">&nbsp; &nbsp;</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]].
 +
 +
</noinclude>

Latest revision as of 14:25, 21 June 2013






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.