<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fanverse.click/index.php?action=history&amp;feed=atom&amp;title=Template%3AEnsure_AA_contrast_ratio%2Fdoc</id>
	<title>Template:Ensure AA contrast ratio/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://fanverse.click/index.php?action=history&amp;feed=atom&amp;title=Template%3AEnsure_AA_contrast_ratio%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://fanverse.click/index.php?title=Template:Ensure_AA_contrast_ratio/doc&amp;action=history"/>
	<updated>2026-04-17T11:37:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://fanverse.click/index.php?title=Template:Ensure_AA_contrast_ratio/doc&amp;diff=1135&amp;oldid=prev</id>
		<title>Mob: Created page with &quot;{{Documentation subpage}} {{High-use}} &lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --&gt; {{Lua|Module:Color contrast}}  ==Usage== This template checks for compliance with [http://www.w3.org/TR/2014/NOTE-WCAG20-TECHS-20140916/G17 WCAG G17], i.e. that a background–foreground colour combination has got a contrast ratio of more than 4.5:1. It takes two arguments, the &lt;code&gt;base&lt;/code&gt; colour...&quot;</title>
		<link rel="alternate" type="text/html" href="https://fanverse.click/index.php?title=Template:Ensure_AA_contrast_ratio/doc&amp;diff=1135&amp;oldid=prev"/>
		<updated>2024-01-31T00:00:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{High-use}} &amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see &lt;a href=&quot;https://en.wikipedia.org/wiki/Wikidata&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Wikidata&quot;&gt;Wikipedia:Wikidata&lt;/a&gt;) --&amp;gt; {{Lua|Module:Color contrast}}  ==Usage== This template checks for compliance with [http://www.w3.org/TR/2014/NOTE-WCAG20-TECHS-20140916/G17 WCAG G17], i.e. that a background–foreground colour combination has got a contrast ratio of more than 4.5:1. It takes two arguments, the &amp;lt;code&amp;gt;base&amp;lt;/code&amp;gt; colour...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{Lua|Module:Color contrast}}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
This template checks for compliance with [http://www.w3.org/TR/2014/NOTE-WCAG20-TECHS-20140916/G17 WCAG G17], i.e. that a background–foreground colour combination has got a contrast ratio of more than 4.5:1. It takes two arguments, the &amp;lt;code&amp;gt;base&amp;lt;/code&amp;gt; colour value, and the tracking category, &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt;, to place non-compliant transclusions in. A third parameter, &amp;lt;code&amp;gt;other&amp;lt;/code&amp;gt;, is optional; the template will by default calculate the contrast ratio against black and white, on the assumption that it is used in conjunction with {{Tlx|Greater color contrast ratio}}.&lt;br /&gt;
&lt;br /&gt;
Note: this is compliant with AAA for 18 point or 14 point bold text.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|+ Contrast ratios&lt;br /&gt;
|-&lt;br /&gt;
! Rating !! Normal text !! 18 point or 14 point bold text&lt;br /&gt;
|-&lt;br /&gt;
| AA || &amp;#039;&amp;#039;&amp;#039;4.5&amp;#039;&amp;#039;&amp;#039; || 3&lt;br /&gt;
|-&lt;br /&gt;
| AAA || 7 || &amp;#039;&amp;#039;&amp;#039;4.5&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
* {{#invoke:DemoTemplate|{{BASEPAGENAME}}|base=navy|category=Test}}&lt;br /&gt;
* {{#invoke:DemoTemplate|{{BASEPAGENAME}}|base=navy|other=|category=Test}}&lt;br /&gt;
* {{#invoke:DemoTemplate|{{BASEPAGENAME}}|base=navy|other=navy|category=Test}}&lt;br /&gt;
* {{#invoke:DemoTemplate|{{BASEPAGENAME}}|base=red|category=Test}}&lt;br /&gt;
* {{#invoke:DemoTemplate|{{BASEPAGENAME}}|base=#CC5500|category=Test}}&lt;br /&gt;
* {{#invoke:DemoTemplate|{{BASEPAGENAME}}|base=asdf|category=Test}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|Ensure AAA contrast ratio}}&lt;br /&gt;
* {{tl|Greater color contrast ratio}}&lt;br /&gt;
* {{section link|Template:Color contrast conformance|HTML colors}}&lt;br /&gt;
* {{section link|Wikipedia:Manual of Style/Accessibility|Color}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Color conversion templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mob</name></author>
	</entry>
</feed>