Skip to content

Instantly share code, notes, and snippets.

@davatron5000
Last active December 12, 2015 05:08
Show Gist options
  • Save davatron5000/4719638 to your computer and use it in GitHub Desktop.
Save davatron5000/4719638 to your computer and use it in GitHub Desktop.

MYTH: Screen readers don't use JavaScript

A common misconception among web developers is that screen readers only read the non-JavaScript page. Due to this misconception, we sometimes assume it's unnecessary to make JavaScript apps and other functionality accessible. This is categorically false.

According to a May 2012 survey conducted by WebAIM, 98.6% of screen reader users have JavaScript enabled.

Javascript enabled: 98.6% vs. Javascript disbaled: 1.4%

Be sure to make efforts to ensure that the JavaScript functionality (apps, custom UI controls, forms, etc) within your site is accessible. It could be as simple as opting for native links and form inputs instead of custom scripted form elements.

Also be sure your website is accessible for the ~2% of users (globally) with Javascript disabled.

Futher Reading

@randomecho
Copy link

It's almost a year now, so "recent" doesn't match up with a date back in May 2012. Just drop "recent", the date is enough.

It should be "ensure" instead of "insure" but then the sound of "sure" so close and that it repeats itself could be streamlined into something like

Make efforts to ensure that the JavaScript functionality (blah blah) within your site is accessible.

@ckundo
Copy link

ckundo commented Feb 6, 2013

Great point. You may want to expand on the conclusion to include some specific examples or resources. For instance, recommend fallback on the browser's default link and input behaviors instead of relying on javascript click handlers. (per http://www.w3.org/TR/WCAG20-TECHS/failures.html#F42)

WCAG has a list of client-side scripting techniques that you can point to:
http://www.w3.org/TR/WCAG20-TECHS/client-side-script.html

also:
s/insure/ensure
s/it is assumed/we sometimes assume

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment