· Updated · 2 min read
Accessible UI design: contrast, focus and labels
Review text contrast, keyboard focus, touch targets and form labels. A practical starting point for making websites and product interfaces easier to use.
- Accessibility
- Craft
- UX

The short version
- Check text contrast against the actual background and text size.
- Keep keyboard focus visible and form labels available after typing.
- Use semantic controls and test important journeys with relevant assistive technology.
Accessibility decisions belong in the first wireframes and components. Text contrast, visible focus, usable targets and clear labels affect how people read and operate an interface. Checking them early reduces the number of patterns your team needs to repair after implementation.
Check the text people actually need to read
WCAG AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text, with defined exceptions. Large text means at least 18 point, or 14 point when bold. Review helper text, placeholders and text on brand-coloured backgrounds in the implemented interface.
The WCAG contrast guidance explains the requirements and exceptions. Check each state against its actual background instead of relying on a colour sample from the design file.
Make keyboard focus and labels visible
A keyboard user needs to see which control is active. Keep the default indicator or replace it with one that remains clear on each background. Give inputs persistent labels so the meaning is still available after someone starts typing.
Use controls with the right behaviour
Use buttons for actions and links for navigation. Semantic headings, lists and landmarks help assistive technology describe the structure. Custom controls need additional care to provide names, roles, state and keyboard behaviour.
Include practical checks in the review
- Complete a key journey with the keyboard and inspect the focus order.
- Zoom to 200% and check for clipped content or overlapping controls.
- Enable reduced motion and review transitions and feedback.
- Check labels, error messages and recovery instructions.
- Test relevant journeys with assistive technology and people who use it.
These checks are a starting point rather than a compliance certificate. Define the evaluation scope and target standard with your team. Use the WCAG quick reference to plan a more complete review.
Questions we get asked
- What contrast ratio does text need?
- WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text, with defined exceptions. Large text means at least 18 point, or 14 point when bold. Check the implemented colours rather than relying on a mockup.
- Can we remove the default focus outline?
- Replace it only with a visible indicator that makes keyboard focus clear. Test the replacement on every interactive control and against each background it appears on.
- Does a quick accessibility review prove compliance?
- No. Keyboard, contrast, zoom and reduced-motion checks are useful starting points. A full evaluation needs an agreed standard and scope, assistive-technology testing and review of the implemented content and interactions.


