Are you designing for accessibility? 7 powerful and often-overlooked media queries for accessibility 👇 Here’s an exhaustive guide to CSS media queries for inclusive user interfaces. 1. prefers-reduced-motion Did you know that 35% of Americans aged 40+ experience discomfort due to web animations? 35% of Americans aged 40+ feel discomfort from web animations. Reduce animations that could trigger migraines or epileptic reactions. Minimize distractions for users with attention disorders. Use prefers-reduced-motion to respect users sensitive to motion. @media (prefers-reduced-motion: reduce) { animation: none; } 2. prefers-contrast Unlike `ms-high-contrast`, this query is cross-platform and easier to maintain. @media (prefers-contrast: high) { background-color: black; color: white; } 3. prefers-reduced-data Optimize for users on limited data plans by skipping heavy or unnecessary assets. @media (prefers-reduced-data: reduce) { background-image: none; } 4. prefers-reduced-transparency Reduce transparency effects for better readability for users with vision difficulties. @media (prefers-reduced-transparency: reduce) { background-color: #fff; opacity: 1; } 5. forced-colors Adapt your design to forced high-contrast modes enabled by operating systems. @media (forced-colors: active) { @supports (background-color: ButtonFace) { background-color: ButtonFace; color: WindowText; border: 1px solid WindowText; } @supports not (background-color: ButtonFace) { background-color: #fff; color: #000; border: 1px solid #000; } } 6. inverted-colors This query detects systems with inverted color schemes. Inverted colors are often used by users with visual impairments or light sensitivity. For example, text and background colors may be reversed for better readability. However, this can make images unintentionally inverted and hard to interpret. You can re-adjust images specifically for these cases. @media (inverted-colors: inverted) { img { filter: invert(100%); } } 7. speech Design tailored experiences for screen readers or speech-based interfaces. This is particularly useful for users who interact with content using audio. @media speech { body { font-size: 1.5rem; /* Larger text for clarity when described */ visibility: visible; } img { display: none; /* Skip unnecessary visuals */ } } These queries ensure your web designs are adaptable to users’ preferences. Are you using them in your projects? Share your experience or challenges.
Customizing Accessibility Features
Explore top LinkedIn content from expert professionals.
Summary
Customizing accessibility features means adjusting digital tools, software, or websites so people of all abilities can interact comfortably and independently. It involves tailoring interface elements, navigation, and content options to suit individual needs, whether those relate to vision, hearing, mobility, or cognitive differences.
- Enable keyboard navigation: Make sure all interactive elements are accessible using a keyboard, so users can navigate and activate functions without needing a mouse.
- Support personal preferences: Allow users to personalize settings like color contrast, motion reduction, or font size for easier reading and reduced distractions.
- Include clear documentation: Add accessibility information and guidance in project documentation so everyone understands how to use and adapt your product.
-
-
🔮 AI Accessibility Design Patterns. With practical guidelines for designers to keep in made to make AI experiences more accessible and inclusive ↓ AI features are rarely accessible by default. As we rush to ship AI-powered products, most of the time AI interactions are barely usable nor accessible or inclusive. Too often with open-ended input ("ask-me-anything"), poorly structured output and plenty of slow, repetitive and inefficient tasks. Writing prompts well is hard and time-consuming. Navigating within AI-generated wall of text is difficult. Finding relevant bits in long-lasting conversations is an adventure. And tweaking queries and AI output to meet user's needs and expectations is remarkably painful. These aren’t attributes of great AI experiences. In fact, AI features have a lot of UX challenges which require intentional and deliberate UX work: 1. AI suddenly imagines things 2. AI silently assumes things 3. AI suddenly forgets things 4. AI suddenly changes its mind 5. AI says what people want to hear 6. AI often takes too long to reply 7. AI is too verbose when replying 8. Quality of AI output declines over time 9. Only amplifies averages and mistakes 10. Rarely asks for missing details or context On the other hand, the accessibility of AI products is uncharted territory. AI features typically come with a lot of accessibility challenges, and usually they aren’t addressed at all: 1. Users could use a task builder for better prompts 2. Add “Skip to chat” or “Skip to last reply” links 3. Keyboard navigation works bottom up (Shift + Tab) 4. Group interaction controls to reduce tabbing 5. As AI is busy, keep buttons enabled, show hints 6. Repetitive “busy” messages for screen reader users 7. Add navigation landmarks to navigate within AI responses 8. Highlight what's AI-generated and what isn't 9. Link references to relevant fragments, not pages 10. References should show up on tap/click, not hover. 11. Allow users to to adjust the verbosity of AI output. 12. Most charts and visuals don't have proper alt texts. In fact, "Ask-me-anything" is an incredibly poor design pattern in AI interfaces. Users can ask anything, but they never know what exactly to ask — and more specifically, how to articulate it efficiently. A task builder can help bring structure around AI input, along with higher speed and accuracy (attached). One thing to note is the "inverted navigation nightmare". Chat moves down the page, but keyboard navigation works from bottom up. And on the way to the conversation, there are always UI controls that aren’t easy to skip. Grouping all UI controls and allowing users to skip them at once would help. If you'd like to dive deeper, I can wholeheartedly recommend a series of articles by Michael Gower — https://lnkd.in/eQNCHf7M — an important yet often overlooked area that deserves attention and good UX work, but is unexplored yet.
-
Web accessibility & mental health: why we need to talk about it In my years working as a web accessibility expert, I’ve often noticed: we tend to focus on physical and sensory disabilities, but mental-health issues and cognitive differences often sit in the shadows of our accessibility discussions. Here’s what I’ve come to understand: · A recent study found that when accessibility features designed for cognitive support were absent, even users without disabilities showed declining cognitive engagement over time (eye-tracking & heart-rate monitoring used) (link to the study: https://lnkd.in/e5ZQe2i7) · The World Wide Web Consortium has a dedicated page on Cognitive Accessibility, acknowledging that many user needs are still not addressed in current standards (link to the webpage: https://lnkd.in/enTWiJdJ) · The European Commission published a 2022 study on inclusive web-accessibility for persons with cognitive disabilities, noting that improved cognitive accessibility benefits everyone (link to the study: https://lnkd.in/e7Z-XAxW) 🚨 Why mental health & cognitive accessibility matters, but gets overlooked · Many mental-health conditions affect attention, memory, processing speed, anxiety, distraction. Yet accessibility standards like WCAG only indirectly address these via criteria like “Readable” or “Predictable”. · This means a website can be technically WCAG compliant, but still highly stressful or inaccessible for a person experiencing anxiety, depression, PTSD, or cognitive fatigue. · Because mental-health issues are less visible and more variable, teams often don’t plan for them, yet by doing so we exclude a very large group of users. ✏️ Practical tips for designing with mental-health & cognitive needs in mind 1. Simplify tasks & reduce cognitive load Use clear, concise language; break down complex processes into simple steps. Provide “skip this step” or “help” options when tasks require concentration. 2. Manage pace, timing & interruptions Don’t assume users can process content the same as usual - allow more time, allow pauses. Provide options to reduce motion, remove auto-refreshing content. 3. Offer predictable, consistent navigation and UI Avoid surprises, unexpected changes, hidden actions. People with anxiety or executive-function challenges benefit greatly from consistency. 4. Enable personalization & adaptation Allow users to choose simpler mode, reduce visual clutter, choose focus mode, change colours or fonts. 5. Test with real users Too often we test only “visual/motor” disabilities, but persons with cognitive or mental-health-related challenges have unique real-world pain points and involve them early. If you’re working on a project, I invite you to pause and ask: “How would this feel if I were anxious, processing slowly, distracted, or tired?” Because accessibility is empathy translated into design. #Accessibility #MentalHealth #CognitiveAccessibility #InclusiveDesign #WebAccessibility #A11y #UX
-
Many people use only their keyboard to interact with the web. Some use it out of necessity, others prefer it for efficiency. For example, screen readers are controlled using a keyboard. In other cases, a person might use the keyboard instead of a mouse because of a hand injury, while someone else might enjoy zipping through a page or app with keyboard shortcuts. Keyboard navigation often means using TAB, Enter and arrow keys, plus other keyboard shortcuts depending on the element, app or your settings. Often times people (including screen reader users) are using a standard keyboard. Sometimes, a person might use an alternative keyboard or hardware that simulates a keyboard. No matter the reason or device, keyboard accessibility is one of the most important aspects of digital accessibility! I often recommend it as a team's starting or focus point because it usually impacts the largest amount of users and presents the most critical barriers. Here are some top keyboard accessibility tips: 1. If you can click it, you can trigger it with keyboard If an element is interactive (you can click on it to make something happen like a link, button or input field), you need to be able to trigger it with just a keyboard, too. Think about how easy it is to fill in a form when you can hit tab to get to each field. For some users, this is the only way they can interact with your web content. 2. You can always see where you are This is called the focus. As a person tabs through a page or app, they should always be able to see where they are. Like all elements, the focus should also have good colour contrast. 3. When you tab, the order of elements makes sense You would get confused if the text, images, links and headings on a page were all jumbled up! If keyboard is the only way for a user to navigate through a page or app, the order they move in should be logical. 4. Standard keyboard behaviours are used over custom ones Lots of elements have keyboard navigation built into them. Many of them may even have keyboard behaviours you didn't know about (did you know links and buttons are triggered by different keyboard strokes? Same is true for checkboxes and radio buttons). Instead of throwing a bunch of tabindexes into your code, use native HTML elements to get keyboard navigation for free. The best part about keyboard accessibility: Anyone can test it! Pull up your webpage or app, and use your standard keyboard to navigate and interact with your content. How many of these tips have been included?
-
Open source powers the software we all rely on - but if it isn't accessible, we're leaving people out. I'm excited to share a new guide just published on opensource.guide that gives maintainers practical, actionable steps to make their projects usable by everyone. Inside the guide: ✅ How to write an accessibility statement and ACCESSIBILITY .md ✅ Making docs accessible by default (headings, alt text, captions) ✅ Designing accessible interfaces (keyboard support, semantics, color & contrast) ✅ Building accessibility into PR checklists, issue templates, and CI ✅ Leveraging GitHub Copilot for accessibility tasks ✅ Continuous testing — automated and manual The core message: "Nothing about us without us." The most impactful thing you can do is partner with people with disabilities - early and often. You don't have to do everything at once. Start small this week: 🔹 Add an ACCESSIBILITY .md 🔹 Make sure every interactive element is keyboard reachable 🔹 Fix missing form labels 🔹 Add alt text to your README Every fix opens the door for someone who couldn't use your project before. That's a win worth celebrating. 🎉 Read the full guide: https://lnkd.in/eWWwJYJ7
-
🚀 New Plugin Drop: Accessibility Toolkit for Claude Code I’ve been working on something exciting — an Accessibility Plugin for Claude Code 🎉 It’s a complete toolkit to help developers build WCAG 2.1 AA–compliant apps from day one. ♿ What It Does ➥ Accessible-first development: Real-time guidance to write inclusive code by default ➥ Color contrast checking: Auto-validates and suggests WCAG-compliant colors ➥ Runtime scanning: Integrates Playwright + axe-core to detect live page issues ➥ Automated testing: Generates Playwright a11y tests for your CI/CD pipelines ➥ Smart refactoring: Automatically fixes frequent accessibility violations ⚙️ Quick Setup bash # In Claude Code: /plugin marketplace add deepakkamboj/claude-marketplace /plugin install accessibility@deepakkamboj 🧪 Try It Out bash # Start accessible development /accessibility:accessible-dev # Check color contrast in your components /accessibility:contrast-checker # Generate accessibility tests /accessibility:generate-a11y-tests 🤝 How You Can Help 🧭 Test it: Try it in your projects and share your experience 🪲 Report bugs: Found an issue? Open a ticket 💡 Suggest features: What a11y checks should we add next? 🔧 Contribute: Code, agents, docs — all contributions welcome 📚 Resources Repo: https://lnkd.in/g9YWrhbY Issues: Submit feedback or bugs here Docs: Check the README for usage examples This project is still evolving — your feedback will directly shape its direction. Let’s make accessibility the default, not an afterthought! ✨ #Accessibility #A11y #WCAG #WebDevelopment #DeveloperTools #ClaudeCode #AI #OpenSource #InclusiveDesign #WebAccessibility #SoftwareEngineering #DevTools
-
One thing I wish someone had told me earlier in my UX career: Accessibility isn’t a separate phase of design. It’s something you weave into your workflow from the beginning. It’s a foundational part of a high-quality UX process, the same way responsive design is (like, we don’t debate whether a website should work on mobile). Early in my career, I used to think accessibility meant checking color contrast at the end, and the rest was on the developers. That was so wrong LOL! Accessibility comes from specific design decisions, long before development. When the moment comes to make those decisions, will you already know what to do? ➤ Do disabled elements need a certain level of color contrast? ➤ Is there a minimum contrast ratio for button borders, logos, or UI controls (like toggle switches, checkboxes, pagination)? ➤ How should you design the display of error messages? ➤ How do you make color-coded data visualizations, like charts and graphs, accessible for people who can't see color or tell the difference between certain colors? ➤ If you’re still using links labeled “read more” or “details,” what should they say instead? ➤ How do you design progress trackers without relying on color to differentiate past, current, and future steps? ➤ How do you design focus states so keyboard users can always see where they are? These are all design decisions! Not developer magic, not legal checkboxes. And the thing that frustrated me for years was that I couldn’t find anyone teaching the practical *how* of this. It’s not in universities, design bootcamps, or UX certificate programs. I wanted someone to explain which decisions are non-negotiable for accessibility, and where you still have creative freedom to express the brand within its system. I looked everywhere for real UI examples, real components, real instructions… but that resource didn’t exist. So I built it. If you want an exact, practical, specific guide, this is it. No theory, no generalizations, no “it depends.” 9 hours of concrete, step-by-step instructions for specific components, like progress trackers, error states, charts, interaction states, and more. I set the Cyber Week discount to the maximum Udemy allows, 90% off, to make this more reachable for people who want it. (On top of that, there’s a 30-day money-back guarantee, if it ends up not being the right fit for you.) 90% off code: CYBER-UP Good for the next 3 days. Feel free to share it. Watch the free preview and enroll here: https://lnkd.in/gAkwC5_M I want you to feel confident making accessibility decisions the moment they’re in front of you. 🌎❤️ #Accessibility #UXDesign #UXAccessibility #InclusiveDesign #A11y
-
Let’s take a look at the most common accessibility issues and how to fix them. 1️⃣ Low-contrast button labels The buttons with low-contrast labels are harder to read, especially for users with visual impairments. ✅ How to fix: Ensure that the minimum contrast ratio for normal text size (less than 24px) is at least 4.5 : 1. If the text is large (≥ 24px or ≥ 18.66px bold), the contrast ratio should be at least 3 : 1. 2️⃣ Low-contrast icons When an icon has low contrast against the background, it becomes more difficult for users to recognize it. ✅ How to fix: Ensure that icons have a contrast ratio of at least 3 : 1 against the background. 3️⃣ Small target areas When interactive elements have small target areas (less than 24px) and there is not enough space between them, the user can accidentally click or tap the wrong element. ✅ How to fix: A target area should be at least 24×24px, with certain exceptions, such as sufficient spacing or inline text links. 4️⃣ Using placeholder text instead of labels If input fields don’t have visible labels, it will be more difficult for users to recognize the purposes of the fields. It is a bad practice to rely on placeholder text alone, as it’s often low contrast and disappears when users type. ✅ How to fix: Input fields should have labels or instructions so that users know what data is expected. 5️⃣ Missing error message When an input error occurs, it’s not enough to simply highlight the input field in red without showing an error message, because users won’t be able to understand what’s wrong. ✅ How to fix: When an input error is detected, an error message should appear and clearly describe what’s wrong. Check out the Accessibility Checklist here: https://lnkd.in/d_HACYBy #Accessibility #WCAG #AccessibilityChecklist #WebAccessibility #InclusiveDesign #ProductDesign #UXDesign