Sep 02, 2025 / 06:23 PM UTC

    The Crucial Aspect of Accessibility

    Let me start with this: Accessibility is not a buzzword; it’s a crucial feature that every web application should have.

    It should not be mandated by the government, but rather it should be taken as the responsibility of every developer to make their websites accessible to all users.

    Making a website accessible will not just help you avoid government penalties, it will also give you a wider user base. Accessibility is all about making your website accessible to everyone.

    On that note, let’s get this blog started -

    What is Accessibility

    Accessibility is ensuring that your web application is usable by people with disabilities, including people with

    • Visual impairment (Blindness, Colour Blindness) -
    • Hearing loss
    • Motor Impairment ( Difficulty using the mouse)
    • Cognitive limitation (Dyslexia, Attention Disorder)

    Accessibility Core Principle (POUR)

    PrincipleDescription
    PerceivableContent must be perceivable by all (e.g., alt text, captions)
    OperableAll functionality must work via keyboard or assistive devices
    UnderstandableContent should be readable and predictable
    RobustMust work with various assistive technologies

    How can people with disabilities use the applications

    Visual impairmentShould be able to use with screen readers, VoiceOver, and Font Scaling support
    Hearing lossClose Captions for Video and Audio
    Motor ImpairmentKeyboard Accessibility Support
    Cognitive limitationSimple Language

    Accessibility Standards

    Web Content Accessibility Guidelines (WCAG)

    Defines Accessibility levels as A, AA & AAA

    Accessible Rich Internet Applications (ARIA)

    Adds accessibility support to non-semantic elements.

    Americans with Disabilities Act (ADA)

    Legal mandate in the US for accessible digital content

    AA is the most commonly required level of compliance.

    How to make a web application Accessible

    Use Semantic Tags

    • Use tags like <button> , <nav>, <header>, <section> etc.
    • Avoid using div and span all over your application

    Support Keyboard Accessibility

    • Actions should be usable via. keyboard, including opening modals, dropdowns, and toasts.
    • Use tabindex to align focus correctly.
    • Use focus, keydown event listeners correctly

    Use Aria Roles when needed

    Focus Management

    • Trap focus in modals
    • Restore focus when modals close
    • Visibly indicate focus using focus-visible or outline

    Maintain Colour Contrast

    Using Images and Other Media

    • Use alt text for images
    • Add transcripts/captions for videos/audio
    • Avoid autoplaying media files. i.e. Video

    Tools for Accessibility Testing

    The tools listed below are some of the most common tools for testing accessibility in a web application.

    ToolUse Case
    axe DevToolsChrome extension to audit a11y
    LighthouseBuilt-in browser audits
    NVDA / VoiceOverScreen reader testing
    Tab keyTest keyboard navigation

    WCAG AAA is harder to implement, and most website are expected to maintain AA compliant.

    I hope by the end of this post, you have a good idea of why accessibility is important and how you can add accessibility support to your application.

    That’s all, folks! I hope you found this helpful. If you enjoyed this, check out more articles on my Blog, https://blog.nandan.dev/

    Feel free to comment, email me at connect@nandan.dev, or connect with me on Twitter, Instagram, or GitHub. Don’t forget to subscribe to my newsletter for regular updates on JavaScript topics!

    originally published here

    Login

    to interact with this post.

    Topics included

    Social.
    Snapshot.

    Instantly create a share-worthy social post for this post.

    Social Snapshot
    Explore similar content
    Software Design Principles:
    Mouli ·

    Jul 26, 2026

    Software Design Principles:

    Have you ever copied a block of code, pasted it somewhere else, and changed just one or two lines? We’ve all done it. It feels like the quickest solution — until you need to update that logic later and realize it’s duplicated in five different places.

    The Hidden Bias in AI Detectors And How Non-Native English Scholars Are Being Unfairly Targeted
    Innovation Hub ·

    May 16, 2026

    The Hidden Bias in AI Detectors And How Non-Native English Scholars Are Being Unfairly Targeted

    In the age of AI-assisted writing, new research has uncovered a troubling reality: the very tools designed to detect AI-generated text may be unfairly penalizing non-native English speakers. A recent study published in PeerJ Computer Science highlights how AI detection tools like GPTZero, ZeroGPT, and DetectGPT often misclassify the work of international scholars, potentially damaging their academic careers.

    iPhone Air vs. iPhone 17 Pro: The Thinness Tax, “All‑Day” Battery, and Who Should Actually Upgrade in 2025
    Rahul Lokare ·

    Sep 11, 2025

    iPhone Air vs. iPhone 17 Pro: The Thinness Tax, “All‑Day” Battery, and Who Should Actually Upgrade in 2025

    Apple just unveiled a radically thin iPhone Air alongside the iPhone 17 and 17 Pro line, promising pro‑level performance in a body that feels “impossibly” light with “remarkable all‑day battery life.” But thinness comes with trade‑offs, and “all‑day” means different things in real life than on a press slide this guide translates the claims into practical buying advice for creators, travelers, gamers, and budget‑minded buyers in India.