Accessibility is not a separate project for next quarter. A handful of small, well-understood fixes remove the most common barriers for people using screen readers, keyboards and small touch screens, and they make your site better for everyone.
Key takeaways
- Describe meaningful images with alt text, and give decorative ones an empty
alt="". - Connect every form field to a visible label.
- Meet contrast ratios of 4.5:1 for body text and 3:1 for large text.
- Never remove the focus outline without a clear replacement, and keep tap targets generous.
1. Image alt text
Alt text is what a screen reader announces in place of an image. Describe what the image communicates, not what it literally is, and skip it for pure decoration.
<!-- Meaningful image -->
<img src="signups.png" alt="Line chart showing monthly signups rising from January to June">
<!-- Decorative image -->
<img src="divider.svg" alt="">Good alt text
- Explains the purpose of the image in context
- Short and specific
- Empty (
alt="") when purely decorative
Weak alt text
- Missing entirely
- Filenames such as “IMG_2041.jpg”
- Starts with “image of” and says nothing useful
2. Form labels
Placeholders disappear as soon as someone types and are not a substitute for labels. Associate a real <label> with each input so it is announced and the label itself becomes a larger click target.
<label for="email">Email address</label>
<input id="email" type="email" name="email" autocomplete="email">3. Color contrast
Low-contrast text is hard to read for many people, especially in bright light or on small screens. The common WCAG AA targets are simple:
Test your real text and background colors with any contrast checker, including text over images and in dark mode.
4. Visible keyboard focus
Keyboard users need to see where they are. Many sites remove the browser outline with outline: none and offer nothing in its place. Style it instead of deleting it:
a:focus-visible,
button:focus-visible,
input:focus-visible {
outline: 3px solid #005fcc;
outline-offset: 2px;
}Then unplug your mouse and tab through the page. If you lose track of the focus, so will your visitors.
5. Tap target size
Small, tightly packed links and buttons are frustrating on touch screens. WCAG 2.2 sets a minimum of 24 by 24 CSS pixels at level AA, and 44 by 44 is a widely used comfortable target.
.btn, nav a {
min-height: 44px;
min-width: 44px;
padding: 0.6rem 1rem;
}What automated checks cannot do
Be honest about the limits. Automated tools, including Audityxe’s Accessibility category, catch the measurable issues: alt coverage, label association, contrast heuristics and focus visibility. They cannot judge whether alt text is meaningful or whether a flow makes sense with a screen reader. Use them to find the easy wins fast, then test with a keyboard and a screen reader too.
- Every meaningful image has useful alt text
- Every input has an associated label
- Text and UI contrast meets AA
- Focus is visible on every interactive element
- Buttons and links are comfortably tappable
- Links and images on the page actually load
Run an audit to see your accessibility findings alongside SEO, security and UX, each tied to the exact element behind it.
