You can’t reliably detect screen readers
When I hold workshops on accessibility I am often asked how to detect screen readers. The answer is that you can’t, at least not in a reliable way.
The main reason is that screen readers run alongside (or on top of, if you prefer) regular web browsers and do not have a user agent string of their own that you can sniff.
While it is possible to use Flash to detect whether some assistive technology is active, it is quite unreliable:
- It obviously requires Flash
- It doesn’t detect screen readers, it detects assistive technology that makes use of Microsoft Active Accessibility (MSAA)
- It only works on Windows, and only with some screen readers
Steve Faulkner talks more about this in Developer Beware: Using Flash to Detect Screen Readers.
- Previous post: Remember non-vendor-prefixed CSS 3 properties (and put them last)
- Next post: Five years of Authentic Jobs
Comments are disabled for this post (read why), but if you have spotted an error or have additional info that you think should be in this post, feel free to contact me.
Subscribe / follow
Sponsors
Authentic Jobs
- Front End Developer at Domani Studios (Brooklyn, NY, Ne, US)
- Lead Java Developer at Synacor, Inc. (Buffalo, NY, Ne, US)
- iOS Developer at Etsy (Brooklyn, NY, US)
- WEB DEVELOPER at BEACON HEALTH SYSTEM (BEACON HEALTH SYSTEM-SOUTH BEND, INDIANA, In, US)
DreamHost web hosting
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost

