|||

wcag-logo

This post is just a collection of some notes on web accessibility and making accessibile rich internet applications (ARIA)

Some basics

  • Use more native elements where possible like h1, buttons, forms etc.
  • Avoid things like divs that are styled as button for example.
  • Ensure rendered HTML is well formed
  • Test in a varierty of browsers including mobile
  • reconsider decisions around color contrasts, motion like parallax effects etc

Tools for testing sematic HTML

  • Dev tools in modern browsers, especially the Accessibility tab in chrome
  • Reader mode in browsers
  • NVDA screen reader link
  • Voiceover rotors link
  • Browser extensions:
    • Accessibility Insights for web
    • Web developer toolbar
  • If there is conflicting info between screen readers and other accesibility tools, screen readers should be preferred as they are more closer to the end user

ARIA attributes

  • Standards based attributes for adding accessibility info to web
  • Three types
    • role. eg role=“button”
    • state. eg aria-visited=“false”
    • property. eg aria-label=“form submit”
  • Avoid overriding aria attribs for native elements. rules-link
  • if a div has to be used as a button then use aria-role to describe it is a button.
  • html section tags only show up in screen readers if they have an aria-label or aria-labelledby
Up next Flutter CI/CD with Azure Devops & Firebase - iOS - Part 1 Threat Modelling - Using Microsoft STRIDE Model
Latest posts Refactor react code to use state store instead of multiple useState hooks Notes on Python Threat Modelling - Using Microsoft STRIDE Model WCAG - Notes Flutter CI/CD with Azure Devops & Firebase - iOS - Part 1 Flutter CI/CD with Azure Devops & Firebase - Android - Part 2 How to samples with AWS CDK A hashicorp packer project to provision an AWS AMI with node, pm2 & mongodb Some notes on Zeebe (A scalable process orchestrator) Docker-Compose in AWS ECS with EFS volume mounts Domain Driven Design Core Principles Apple Push Notifications With Amazon SNS AWS VPC Notes Building and Deploying apps using VSTS and HockeyApp - Part 3 : Windows Phone Building and Deploying apps using VSTS and HockeyApp - Part 2 : Android Building and Deploying apps using VSTS and HockeyApp - Part 1 : iOS How I diagnosed High CPU usage using Windbg WCF service NETBIOS name resolution woes The troublesome Git-Svn Marriage GTD (Getting things done) — A simplified view Javascript Refresher Sharing common connection strings between projects A simple image carousel prototype using Asp.net webforms and SignalR Simple logging with NLog Application logger SVN Externals — Share common assembly code between solutions Simple async in .net 2.0 & Winforms Clean sources Plus Console 2 — A tabbed console window