We are building a web app (JavaScript) which needs to comply with local regulations and guidelines about accessibility for people with disabilities.
Unfortunately we discovered that some accessibility support software does not work well with some nice-to-have UI design features and paradigms. This currently means we can't use those features at all.
One particular example is that our app often provides links to external sites with additional information. The by far preferred way by our users is for us to open these links either in a new tab or new window. As this however apparently confuses some screen readers we are not allowed to do this and always have to open links in the same window. It would be nice if instead we could determine whether a screen reader is being used and adapt the web-app behaviour accordingly.
This is just one example though. While solutions for this particular issue are much appreciated, it would be even better if there was a generic way in JavaScript to query if accessibility support features are currently active so we can adapt the UI at run-time to the specific needs of the current user?