From the course: Android App Development: Accessibility
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Text and color contrast - Android Tutorial
From the course: Android App Development: Accessibility
Text and color contrast
- To make your content perceivable, you must meet the minimum color contrast requirements. Color contrast is the relative color luminance between text and background. The result is a ratio between the two. For normal text, the ratio must be at least 4.5 to one. For large or bold text, the ratio must be at least three to one. Color contrast is one of the most common accessibility problems. A frequent case is for hint or placeholder labels inside of text inputs. Another common case is when developers do not consider the color of error messages on dark background. You can use a few tools that can help you find the right color contrast. WebAIM is a website that has a calculator which allows you to input the color of the foreground and the background, and then check the ratio between the two. WebAIM also shows if your color contrast pass the accessibility requirements. You can also use the accessibility scanner and the accessibility testing framework, which is the easiest way to check for…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Introduction to universal design4m 2s
-
(Locked)
Universal design examples1m 48s
-
(Locked)
Clear hierarchy of information2m 10s
-
(Locked)
Text and color contrast1m 16s
-
(Locked)
Touch target size: Checkbox3m 13s
-
(Locked)
Touch target size: Image button3m 15s
-
(Locked)
Communicating meaningful information2m 52s
-
(Locked)
Communicating meaningful error messages3m 20s
-
(Locked)
Communicating meaningful toggle buttons3m 41s
-
(Locked)
Alternatives to different actions4m 40s
-
-
-
-
-