Accessible, 508 compliant Ajax Loading Indicator

末鹿安然 提交于 2019-12-11 17:31:55

问题


How do I make an Ajax Loading Indicator Accessible / 508 compliant. My pre-compliance strategy is like so: initiate ajax request, set timeout to show an indicator(div containing a paragraph with text and a spinner in the center of the screen) if the request doesn't finish within one second, if the indicator is showing when the request is complete, remove indicator. I've tried doing things like setting focus on the indicator text to no avail. JAWS version 9 (which does not support WAI-ARIA) is the target screen reader and I am using jQuery though any solution will do.

Thanks!


回答1:


If your using Jaws 9 there's no way to do this. I can think of two options. One is pop up an alert box telling the user to be pacient. Option two would be to add a read only text field and update that field with the timer value. I think jaws will notice the change if the user enters forms mode but can't test this out since I don't have a setup up for web development. I'd really suggest you push for a new version of Jaws and use WAI-ARIA as a selling point. Live reagons would make this a lot easyer.



来源:https://stackoverflow.com/questions/4269616/accessible-508-compliant-ajax-loading-indicator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!