| r3 | ||
|---|---|---|
| r2 | 1 | {{{#!wiki style="display:inline-block; min-width:260px; border:1px solid #999; border-radius:6px; padding:10px; background:@bg@; color:@fg@;" |
| 2 | '''대비 테스트 샘플'''[br] | |
| 3 | Aa 가나다 123 | |
| r1 (새 문서) | 4 | }}} |
| 5 | ||
| r2 | 6 | ||<tablewidth=100%><tablebgcolor=#ffffff,#1f1f1f><tablecolor=#222,#eee> 글자색 || {{{@fg@}}} || |
| 7 | || 배경색 || {{{@bg@}}} || | |
| r3 | 8 | || 대비비 || {{{@ratio@}}}:1 || |
| 9 | || 기준 || {{{@level@}}} || | |
| r2 | 10 | |
| r3 | 11 | {{{#!if @ratio@ >= 7 |
| r2 | 12 | {{{#!wiki style="margin-top:6px; padding:6px 8px; border-left:4px solid #2ecc71; background:#eafaf1; color:#145a32;" |
| r3 | 13 | '''AAA 통과''' — 일반 텍스트 기준으로도 충분합니다. |
| r1 (새 문서) | 14 | }}} |
| r2 | 15 | }}} |
| r1 (새 문서) | 16 | |
| r3 | 17 | {{{#!if @ratio@ >= 4.5 && @ratio@ < 7 |
| 18 | {{{#!wiki style="margin-top:6px; padding:6px 8px; border-left:4px solid #27ae60; background:#eafaf1; color:#145a32;" | |
| 19 | '''AA 통과''' — 일반 텍스트 기준을 만족합니다. | |
| 20 | }}} | |
| 21 | }}} | |
| 22 | ||
| 23 | {{{#!if @ratio@ >= 3 && @ratio@ < 4.5 | |
| 24 | {{{#!wiki style="margin-top:6px; padding:6px 8px; border-left:4px solid #f39c12; background:#fff8e1; color:#7d4f00;" | |
| 25 | '''큰 글자 AA만 통과''' — 일반 본문용으로는 부족합니다. | |
| 26 | }}} | |
| 27 | }}} | |
| 28 | ||
| 29 | {{{#!if @ratio@ < 3 | |
| r2 | 30 | {{{#!wiki style="margin-top:6px; padding:6px 8px; border-left:4px solid #e74c3c; background:#fdedec; color:#78281f;" |
| r3 | 31 | '''미달''' — 큰 글자 기준도 만족하지 못합니다. |
| r2 | 32 | }}} |
| r1 (새 문서) | 33 | }}} |