-
Bug
-
Resolution: Fixed
-
Minor
-
3.2.4, 3.3, 3.3.1, 3.8.1
-
MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_38_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-59817-master -
Test Case:
In Firefox (54.0.1):
1. Opened course topic editor (using Atto as default editor)
2. Entered text. (no content color changes from the default "clean" theme font and background colors)
3. Ran accessibility checker
4. All entered text flagged with the following issue: "The colors of the foreground and background text do not have enough contrast. To fix this warning, change either foreground or background color of the text so that it is easier to read."
5. Closed accessibility checker window. Viewed content HTML (Atto editor's "HTML" button)
6. Removed opening and closing <p> tags.
7. Switched back to visual editor and ran accessibility checker again.
8. Check successful with the following message: "Congratulations, no accessibility problems found!"
9. Closed accessibility checker window. Selected some text and changed the text color to white. (Note: Content backround is also white)
10. Ran accessibility checker again.
11. Check successful with the following message: "Congratulations, no accessibility problems found!" (even though the white text was not visible)
12. Closed accessibility checker window. Selected other text and changed background to green and text color to red.
13. Ran accessibility checker again.
14. All entered text flagged with the following issue: "The colors of the foreground and background text do not have enough contrast. To fix this warning, change either foreground or background color of the text so that it is easier to read."
In Google Chrome (60.0.3112.90):
Differences from Firefox results...
- Black/dark grey text on white background passes (with and without <p> tags)
- White text on white background fails
- Red text on green background fails