Template:Click

From BZFlagWiki
Jump to: navigation, search
[[{{{link}}}|   ]]
[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]







Usage: {{Click | image=myimage.png | link=PageName | width=10px | height=10px}}

This template attempts to superimpose an invisible link on an image, such that clicking on the image does not take you to the image description page (normal behaviour).

It's useful for small icons/logos which are representative of an article, and which a user might click on expecting to be taken to that article. Here we are using it on the Main Page for example. It's use should minimised because of the following problems.

Problems[edit]

It doesn't work 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]

See also[edit]
https://wiki.bzflag.org/Template:Click
wiki.bzflag.org
crawl=CC-MAIN-2020-45
15014
application/http; msgtype=response
sha1:SPZ457G3IZDQOOSFBNHFASAIWRBDTYK5
<urn:uuid:1344871b-cf58-4a99-80d9-3fccf409439d>
2020-10-31T08:42:34Z
158.69.0.41
text/html
sha1:3XRST7VB26UPIXIQGA4A4H5P272JE3DJ
<urn:uuid:bfdcdd02-e925-4fd2-a444-453e7afcea7b>
https://wiki.bzflag.org/Template:Click
response
<urn:uuid:d13f7045-a951-4924-b3f2-12cc06e2267a>
isPartOf: CC-MAIN-2020-45
publisher: Common Crawl
description: Wide crawl of the web for October 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-244.ec2.internal
software: Apache Nutch 1.17 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/