Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





Template:Ensure AAA contrast ratio





Template  

Talk  



Language  

Watch  

View source  





This template checks for compliance with WCAG G17, i.e. that a background–foreground colour combination has got a contrast ratio of more than 7:1. It takes two arguments, the base colour value, and the tracking category, category, to place non-compliant transclusions in. A third parameter, other, 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 {{Greater color contrast ratio}}.

Examples

Templates implementing Ensure AAA contrast ratio

Templates and the associated tracking categories, as of July 2024:

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Ensure_AAA_contrast_ratio&oldid=695176544"
 



Last edited on 14 December 2015, at 07:41  


Languages

 


العربية

تۆرکجه
Basa Bali

 / Bân-lâm-gú

Български
Bosanski
Dansk
الدارجة
Esperanto
فارسی
Føroyskt


ि
Ilokano
Bahasa Indonesia
Italiano
Jawa
Kurdî
Ladin
Lietuvių
Li Niha
Magyar
ि
Македонски


Na Vosa Vakaviti


Norsk bokmål
Português
Română
Scots
Shqip

Simple English
Soomaaliga
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Sunda
Svenska
Tagalog
 

Türkçe
Türkmençe
اردو
Tiếng Vit


 

Wikipedia


This page was last edited on 14 December 2015, at 07:41 (UTC).

Content is available under CC BY-SA 4.0 unless otherwise noted.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Terms of Use

Desktop