Tests & Quizzes - Settings - Background Color - Palette of Accessible Background Colors
Description
Activity
Alan Regan December 4, 2019 at 10:23 AM
I'm not a programmer, but would something like this work?
Pre-populate eight, light-colored backgrounds?

Tiffany Stull December 4, 2019 at 9:53 AM
Per discussion on Teaching & Learning Call, we recommend closing as won't fix due to complexity of fixing of this, and limited use case.

Tiffany Stull December 2, 2019 at 8:04 AMEdited
black is not just the default text color; it is the only color for some text in an assessment - users do not have any option to change the text color of the Table of Contents link within a quiz, question numbers or the letters that are listed in front of each answer option, the answer options True and False for true/false questions, or answer options for a few other question types (e.g., survey).
Without significant development work (which personally, I think would be a waste of resources), there's no way to limit the color palette of the picker and make it impossible for users to select a non-compliant color. The current color picker is not keyboard-accessible, so keyboard users must type a hex value into the box to specify a color. The following things would need to be done:
Find and implement an accessible jQuery color picker.
Remove the text box option to enter a color using hex.
Possibly also remove the option to specify a background image from URL.
Develop something to either find and automatically fix existing assessment background colors or inform instructors whose existing assessments are potentially affected that they may need to select a new color.
The last item would be the hardest - what can be done to ensure that existing assessments are "fixed", if they happen to have a non-compliant color? You can't eliminate color from some assessments only - it would have to be global for all assessments, or not at all. Would it even be possible to programmatically identify each affected assessment's color and select a color that is essentially the same, but lighter?
Alan Regan December 1, 2019 at 1:40 PM
If the default text color is black, then perhaps we can reduce issues by limiting the color picker to light colors with appropriate contrast?
Else, perhaps a helpful hint near the feature in Settings about color contrast and perhaps a link to a resource like WebAIM's Contrast Checker:
https://webaim.org/resources/contrastchecker/
Hopefully, there is an easy fix that would reduce compliance issues for instructors.

Shawn Foster November 25, 2019 at 1:51 PM
I'm opening this issue for further discussion about whether this should be a development change or further education.
Details
Priority
MajorComponents
Assignee
Core TeamCore TeamReporter
Alan ReganAlan Regan
Details
Details
Priority
Components
Assignee

PURPOSE
Address accessibility concerns by providing a palette of accessible background colors for an assessment. The colors should adhere to the appropriate color contrast recommendations to meet accessibility standards (WCAG 2.0 AA or better).
Provide a light palette (that could keep the font color as black (#000000)).
Provide a dark palette (that would change the base font color for the assessment to white (#ffffff); no instructor action would be necessary).
The color picker itself should be keyboard accessible.
Upon selecting a color, a sample below the background section should display for instructor review.
Potential benefits:
Help professors select a background color that adheres to accessibility guidelines.
Support the pedagogical use-case of selecting a background color to help proctors verify that a student is on the assessment and not an unauthorized web page.
This ticket was inspired based on the intent of SAK-40630.