, 8 tweets, 4 min read
My Authors
Read all threads
#GAAD morning, it's Day 2!

How'd everyone go with keyboard #a11y yesterday?

You may have found it slow to browse a site with just the keyboard. Yes, there is a learning curve, also, many users have software that gives them shortcuts!

Today is about colour and contrast 🖍 -> 5 days to #a11y (accessibil...
In Australia, 8% of men, and 0.4% of women have some degree of colourblindness.

We cannot use only colour to provide meaning, or risk excluding nearly 1-2 in every 20 people from the web.
Here is a sign up form, it uses colour to show whether an input is valid or invalid. In this example, the password field is invalid, it has a red border, and the other fields have a green border.

I use colororacle.org to simulate types of colourblindness, just hit f5
There's more to do when making a form accessible to all users.

But at least for colourblindness, using icons and helpful error messages are a great solution.

A useful tip I learnt from @refactoringui is to design in greyscale, then add colour. 👍

Next, I'll talk about contrast An accessible sign up form ...
Contrast is the difference between luminance (light emitted) of one colour as compared to another. The contrast ratio of white text on a white background is 1:1, while black text on white is 21:1.

Web standards say accessible text/background contrast should be at least be 4.5:1
Sadly, 86% of the web fail to meet minimum contrast ratio requirements (google "@webaim million") as according to the Web Content Accessibility Guidelines (WCAG).

Let's take the form below. I'm testing contrast in @sketch using @getstarkco - you can also simulate colourblindness
Good #accessible contrast is essential for people wth ageing or low vision.

But it is great for all. It reduces eye strain, and is easier to see in all environments. Think, outside in the sun on your phone.

It's easier to fix contrast issues early, so test while designing 🎨
If you're working with HTML & CSS, you can also easily check for colour contrast issues using your developer tools, or by adding some useful browser extensions. These also test for other issues.

I'll be sharing these browser accessibility checkers, tomorrow 😉

Happy #a11y week!
Missing some Tweet in this thread? You can try to force a refresh.

Keep Current with Larene

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!