ASP.NET MVC - How to detect if user is using a screen reader

后端 未结 3 479
名媛妹妹
名媛妹妹 2021-01-22 15:52

So I\'m currently trying to check if a user is using a screen reader on our site. The reason I would like to check if they are is because our site provides a training module in

3条回答
  •  伪装坚强ぢ
    2021-01-22 16:26

    I think you can only check if user has a chrome extensions or something like that working on client side with javascript.

    Idea: You can create an exe or a bath file for check users system and send information about this to your server. If user download this file and there is no screen reader then load the page. Otherwise give error about the screen reader. And when response come from user computer maybe you can use SignalR for show content to user. You can make this file a must works in users system and start downloading this file when user load the page. Its not a good way but maybe you can check this with this way.

提交回复
热议问题