
Editorial illustration; it does not depict a specific website or user.
Published on October 23, 2026.
A website can look spotless in a Figma handoff or a design review and still be a nightmare to actually use. I see this all the time on client builds: a dropdown menu that only opens on hover, a contact form that turns an input border red without saying what is wrong, or light-grey body text that looks sleek on a calibrated studio monitor but vanishes on a mid-range Android phone under Malaysian afternoon glare.
Accessibility is not a final coat of paint you slap on before launch, and it is definitely not a third-party overlay widget. It is basic engineering hygiene—making sure content and controls work for people who navigate with a keyboard, a screen reader, 200% browser zoom, or simply one thumb on a cracked screen while standing on the LRT.
Start with a real user journey
Before running a giant automated audit tool, pick one core journey on your site: reading an article, filtering a product catalogue, submitting an enquiry form, or completing a booking. Write down the expected flow in plain language—for example, “Open the navigation menu, go to the pricing page, pick a plan, and submit the enquiry form.”
Walking through one real task exposes problems that isolated colour or HTML checks miss. A page can score 100 on a quick automated scan and still trap a user because a modal steals focus or a button label is vague. If a link just says “Click here”, a screen reader user pulling up a list of links on the page has zero context. “Download the 2026 pricing guide (PDF)” tells everyone—visual scanners and assistive tech alike—what happens next.
Headings are structure, not font sizes
Headings exist to map out the document, not to make a sub-phrase look bigger. Every page should have one clear <h1>, with <h2> and <h3> nested underneath in logical order without skipping levels just because a <h4> happens to match the font size you wanted.
H1: Choosing a website maintenance plan
H2: What each plan includes
H3: Backups and uptime monitoring
H3: Security patches
H2: How to choose
H2: Frequently asked questions
If you need a smaller or larger heading visually, adjust it in CSS. When stylesheets are stripped away or someone jumps between sections using a screen reader’s heading shortcut, that outline still needs to make sense.
Put the mouse away for ten minutes
Unplug your mouse or ignore your trackpad and navigate your site using only Tab, Shift + Tab, Enter, Space, and the arrow keys. At every stop, check three things: can you clearly see which element has focus, does the focus order match the visual layout, and can you actually operate the control?
The most common culprit I run into is outline: none; in a CSS reset without a replacement. Instead of killing focus indicators, style them cleanly with :focus-visible so keyboard users get a high-contrast ring without cluttering mouse clicks:
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
outline: 2px solid #005fcc;
outline-offset: 2px;
}
When a modal or drawer opens, move focus inside it, keep Tab cycling within the dialog until it closes, and return focus to the button that triggered it. And please stop turning <div> or <span> elements into fake buttons with onclick handlers. A native <button type="button"> gives you keyboard activation, focusability, and the right semantic role for free.
Form labels and error states that actually help
Every input needs a persistent <label> bound with for and id. Placeholder text is not a label—it disappears the moment someone starts typing, and default placeholder grey usually fails contrast checks anyway.
If a field has rules, state them upfront (“Password, at least 12 characters”) rather than waiting until submission to throw a generic “Invalid input” banner. When validation fails, connect the error text directly to the field using aria-invalid and aria-describedby so a screen reader announces the mistake right away:
<label for="email">Work email</label>
<input
id="email"
name="email"
type="email"
aria-invalid="true"
aria-describedby="email-error"
/>
<p id="email-error" role="alert">
Enter an email address in the format name@company.com.
</p>
Never rely on colour, a shake animation, or a tiny red icon alone to signal an error. Clear text next to the field helps everyone recover faster.
Alt text, contrast, and 200% zoom
Good alt text answers one question: what does someone need to know from this image in this specific context? A photo of a damaged cable in a hardware guide might use alt="Frayed power cable near the three-pin plug". Purely decorative flourishes should use alt="" so assistive tech skips them without noise. Don’t stuff SEO keywords into alt attributes, and if a chart carries key figures, summarise the takeaway in nearby prose or a proper HTML table.
Under WCAG 2.2 Level AA, normal body text needs at least a 4.5:1 contrast ratio against its background (3:1 for large text and UI components). Beyond colour, test your layout at 200% browser zoom and on a narrow 320px–375px mobile viewport. Watch for clipped buttons, horizontal scrollbars, sticky headers covering focused inputs, and dialogs that overflow the screen. Never disable pinch-to-zoom in your <meta name="viewport"> tag.
Native HTML before ARIA
Semantic HTML does the heavy lifting: <nav>, <main>, <header>, <footer>, <a> for navigation, and <button> for actions. Reach for ARIA attributes only when native HTML cannot express the widget—such as tabs, accordions, or custom comboboxes—and remember that adding role="button" to a <div> does not magically wire up Enter and Space key support.
If you build with React, Vue, or a WordPress block theme, inspect the rendered DOM in DevTools rather than trusting component names. The browser only cares about the HTML it receives.
Test the messy states
Placeholder copy like “John Doe” hides real layout bugs. Test long Malaysian names, bilingual labels, empty search results, expired sessions, failed file uploads, and slow 3G/4G connections where images fail to load. Also respect prefers-reduced-motion for users who get dizzy from parallax or auto-playing carousels.
Automated scanners like Lighthouse or axe DevTools catch roughly a third of issues—missing alt text, duplicate IDs, low contrast—and they are worth running in CI. Just don’t mistake a green score or an “accessibility widget” plugin for a usable site. Build one quick keyboard-and-zoom check into your definition of done for every feature, and fix friction as you go.
Related reading on keeping sites reliable and maintainable:
- PHP2Shell Explained: What the New PHP Vulnerability Means for Ordinary Website Owners
- Moving a Website Without Losing Visitors: A Safer Migration Guide
- Your Website Has Backups—But Can You Actually Restore Them?