Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]

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: 238 lines (8 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

Defines 1 class


Class: css_text_has_contrast_test  - X-Ref

Class test_css_text_has_contrast_test

test_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.