Templat:Click/doc

Daripada Wikipedia, ensiklopedia bebas.

This template attempts to superimpose an invisible link on an image. It may not work as expected for all browsers, and creates accessibility problems.

Usage[sunting sumber]

To use this template, simply copy the text below and replace the text between the <...> with the desired result.

{{Click
|image  = <image to be linked>
|width  = <width of the image>
|height = <height of the image>
|link   = <page the image must link to>
}}

Example[sunting sumber]

{{Click
|image  = Wikimedia-logo.svg
|width  = 100px
|height = 100px
|link   = :meta:Template:Click
}}

Which will Produce:

Notes[sunting sumber]

This template attempts to superimpose an invisible link on an image. It doesn't work in text-only browsers, and in screen readers for the disabled,[1] 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.[2] See Wikipedia:WikiProject Usability/Clickable images for detail.