Colour contrast in practice
Contrast is the difference in brightness between text and its background. Learn the WCAG ratios, the common failures and how to test them.
Notes from my own projects, a talk and contests, plus short practical guides on UX, accessibility and Arabic (RTL) design.
Searches titles, topics and summaries of all posts.
Topic
Contrast is the difference in brightness between text and its background. Learn the WCAG ratios, the common failures and how to test them.
Keyboard users need to see where they are. Learn how to design visible focus indicators, use :focus-visible and avoid hidden focus.
Many people never use a mouse. Design every interaction so it works with a keyboard, in a logical order, with no traps and clear exits.
Alt text should serve the purpose of an image, not just describe it. Learn when to write it, when to leave it empty and how context decides.
Forms are where users complete tasks. Use real labels, helpful hints, clear errors and sensible grouping so everyone can finish them.
Small buttons are hard to hit. Learn the WCAG 2.2 minimum of 24 by 24 CSS pixels, the larger 44 px guidance and how spacing helps.
Animation can cause discomfort or nausea for some users. Learn to respect prefers-reduced-motion and to give people control over moving content.
Screen reader users navigate by headings and landmarks. Structure pages with one h1, ordered headings and clear regions.
Colour should never be the only way to convey meaning. Learn WCAG 1.4.1 and how to pair colour with text, icons and patterns.
LCP, INP and CLS measure loading, responsiveness and visual stability. See which design choices move these numbers.
Physical properties like margin-left break when a page flips to right-to-left. Logical properties follow the reading direction and save you from duplicate CSS.
Mirror icons that express direction, leave the rest alone. A short guide to arrows, chevrons, progress and the cases where context decides.
Note: No posts match. Try another word, or clear the search and topic.