Dev Tips: DevTools: Accessible colour suggestions  🎨

Dev Tips

 

DevTools: Accessible colour suggestions

I'll be doing an AMA in a few hours! Feel free to ask anything you're curious about!
 

Introduction

For a while now, DevTools has been able to check whether the foreground text colour has a good enough contrast against the background color.

The contrast ratio tool typically presents a colour spectrum where you can experiment with finding more accessible colours to make text more legible. This process is now even easier as DevTools provides an accessible colour suggestion which you can apply with a single click.
 

How to use this feature

  1. Inspect a text based element with Chrome DevTools.
  2. Locate the color property (it's in the Styles pane).
  3. Next to the color property, select the small coloured square. This opens the colour picker tool.
  4. Select the text labelled 'Contrast ratio'.
  5. Select a colour suggestion.
 

Conclusion

Applying minimum contrast ratio (AA) or enhanced contrast ratio (AAA) colours to text on your page can greatly improve the legibility for your users, so do try out this feature - it's currently in Canary but should make its way to stable soon.

Extra: Aside from suggesting accessible colours, DevTools can also suggest an entire colour palette based on the colours it has determined are present on your page.


See the web version of this email here: umaar.com/dev-tips/236-accessible-colour-suggestions
 

Email Marketing Powered by Mailchimp

Copyright © 2020 Umar, All rights reserved.
You are receiving this email because you signed up for Dev Tips.

unsubscribe from this list    update subscription preferences 

Older messages

A few updates from me ⭐️

Friday, August 28, 2020

Updates from me, including new blog posts, and information on my courses A few updates from me ⭐️ Hi there! I send ~5 personal emails a year. In this one, I have useful content to share with you! But

Dev Tips: JavaScript: Native Smooth Scrolling ⚡️

Thursday, August 6, 2020

Dev Tips JavaScript: Native Smooth Scrolling A quick note from me I'll be doing a Smashing Workshop on Testing + Browser Automation, please check it out, or their other workshops. They've been

Dev Tips: DevTools: Customise Your User Agent

Thursday, July 30, 2020

Dev Tips DevTools: Customise Your User Agent Introduction You can set a custom user agent in the Network Overrides Pane. If for example, a website changes its behaviour based on the user agent (a

Dev Tips: DevTools: Tips for changing values in HTML & CSS

Thursday, July 23, 2020

Dev Tips DevTools: Tips for changing values in HTML & CSS Introduction You can easily change numeric values in DevTools. This is a handy feature for when you want to quickly prototype CSS property

Dev Tips: DevTools:️ How deactivated CSS styles works

Thursday, July 16, 2020

Dev Tips DevTools: How copying and pasting deactivated CSS styles works DevTools has some small, yet handy features when it comes to dealing with styles. If you copy some deactivated style rules, they

You Might Also Like

😸 Tangible change

Monday, April 29, 2024

🤖 Elon is closing in on $6 billion in funding for his AI startup. 🛜 The FCC has officially voted... Product Hunt Read in browser This newsletter is brought to you by YOU MIGHT HAVE MISSED 🤖 Elon is

⚙️ AI has emotions now

Monday, April 29, 2024

Plus: Meta AI? More like Mid-ta AI! ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Yikes! Copilot failed all our coding tests

Monday, April 29, 2024

iPad Pro with M4; Best security keys; AI conducts job interviews now -- ZDNET ZDNET Tech Today - US April 29, 2024 placeholder Yikes! Microsoft Copilot failed every single one of my coding tests I ran

Re: The smart home product I use every day!

Monday, April 29, 2024

Hey , Earlier this month, I emailed you about one of my favorite smart home products, a robot vacuum and mop. I wanted to let you know that Samsung currently has a Spring Black Friday Sale and is

The EU draws its regulatory cords tighter around Apple

Monday, April 29, 2024

The EU has said Apple's iPadOS will now fall under the DMA View this email online in your browser By Alex Wilhelm Monday, April 29, 2024 Welcome to TechCrunch AM! We're off to a quick start

GCP Newsletter #396

Monday, April 29, 2024

Welcome to issue #396 April 29th, 2024 News Networking Official Blog Partners Introducing the Verified Peering Provider program, a simple alternative to Direct Peering - Google has launched a new

How many Vision Pro headsets has Apple sold?

Monday, April 29, 2024

The Morning After It's Monday, April 29, 2024. Apple Vision Pro headset production is reportedly being cut, sales are reportedly “way down.” But but but wait: Wasn't the Vision Pro meant to

Okta Warns of Unprecedented Surge in Proxy-Driven Credential Stuffing Attacks

Monday, April 29, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.

Import AI 370: 213 AI safety challenges; everything becomes a game; Tesla's big cluster

Monday, April 29, 2024

Are AI systems more like religious artifacts or disposable entertainment? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Apple renews OpenAI talks 🧠, Google fires Python team 👨‍💻, React 19 beta ⚛️

Monday, April 29, 2024

Apple has renewed discussions with OpenAI to use its generative AI technology to power new features coming to the iPhone Sign Up |Advertise|View Online TLDR Together With QA Wolf TLDR 2024-04-29 😘 Kiss