WCAG deck 1 Flashcards

1
Q

What is luminance?

A

Relative brightness of a color, normalized from 0 (black) to 1 (white). It helps distinguish dark from light areas, especially for people with visual impairments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is luminance important for accessibility?

A

It enables color-blind users to differentiate between light and dark colors, ensures content readability, and helps those with reduced or impaired vision.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What cones in the human eye contribute to luminance?

A

Red and green cones contribute to luminance, while blue cones do not.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the WCAG minimum contrast ratios?

A

4.5:1 for small text and 3:1 for large text.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the WCAG font size definitions for large text?

A

Normal weight: 18pt (24px) or larger. Bold weight: 14pt (18.7px) or larger.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does ambient light affect color perception?

A

Colors are perceived differently in bright vs dark environments. Developers can use the AmbientLightSensor API to adapt styles based on lighting conditions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is local adaptation?

A

Local adaptation is the phenomenon where colors look different depending on their surrounding context, even if the ambient lighting remains constant.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does dark and light adaptation differ?

A

Dark adaptation (adjusting to low light) is slow, while light adaptation (adjusting to bright light) is quicker but can be uncomfortable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why is blue a special case in contrast?

A

Pure blue is low in luminance, and there are fewer blue cones in the eye, making it less readable. Blue should typically be the darker of two colors or mixed with green to improve contrast.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why should red and blue not be placed adjacent to each other?

A

Red and blue placed next to each other can ‘shimmer’ due to how the human eye processes these colors at different locations on the retina.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the purpose of contrast ratio calculations?

A

Contrast ratio calculations ensure sufficient luminance difference between text and background, improving readability and accessibility.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What tools can check luminance and contrast?

A

Browser developer tools and online contrast checkers can verify contrast ratios and luminance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is saturation, and why does it matter?

A

Saturation is the intensity of a color. High saturation, especially with red, can cause accessibility issues like photosensitive seizures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can developers improve text readability in animations?

A

Use low contrast and avoid flashes exceeding three per second to prevent triggering seizures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does luminance contrast help color-blind users?

A

Luminance contrast enables users to differentiate elements by lightness and darkness, even if they cannot perceive color differences.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why is luminance more critical than hue in text accessibility?

A

Luminance contrast enables clear visibility of text and fine details, while hue (color) has less impact on readability.

17
Q

What does the prefers-contrast media query do?

A

It allows developers to provide alternative styles based on user preferences for contrast levels.