See Release Notes
Long Term Support Release
Differences Between: [Versions 311 and 401] [Versions 400 and 401]
Class test_css_text_has_contrast test
Copyright: | 2020 onward: Brickfield Education Labs, https://www.brickfield.ie |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 350 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file admin/tool/brickfield/tests/local/htmlchecker/common/checks/all_checks.php |
css_text_has_contrast_test:: (13 methods):
test_check()
test_check_for_namedcolours()
test_check_for_invalidcolours()
test_check_for_invalidvalues()
test_check_for_emptyvalues()
test_check_for_px18_fail()
test_check_for_px19bold_pass()
test_check_for_px18_pass()
test_check_for_medium_fail()
test_check_for_medium_pass()
test_check_for_larger_fail()
test_check_for_larger_pass()
test_check_for_largerbold_pass()
Class: css_text_has_contrast_test - X-Ref
Class test_css_text_has_contrast_testtest_check() X-Ref |
Test for the area assign intro |
test_check_for_namedcolours() X-Ref |
Test with valid colour names. |
test_check_for_invalidcolours() X-Ref |
Test with invalid colour names. |
test_check_for_invalidvalues() X-Ref |
Test with invalid colour numeric values. |
test_check_for_emptyvalues() X-Ref |
Test with empty colour values. |
test_check_for_px18_fail() X-Ref |
Test for text px18 with insufficient contrast of 4.49. |
test_check_for_px19bold_pass() X-Ref |
Test for text px19 bold with sufficient contrast of 4.49. |
test_check_for_px18_pass() X-Ref |
Test for text px18 with sufficient contrast of 4.81. |
test_check_for_medium_fail() X-Ref |
Test for medium (12pt) text with insufficient contrast of 4.49. |
test_check_for_medium_pass() X-Ref |
Test for medium (12pt) text with sufficient contrast of 4.81. |
test_check_for_larger_fail() X-Ref |
Test for larger (14pt) text with insufficient contrast of 2.94. |
test_check_for_larger_pass() X-Ref |
Test for larger (14pt) text with insufficient contrast of 3.02. |
test_check_for_largerbold_pass() X-Ref |
Test for larger (14pt) bold text with sufficient contrast of 3.02. |