可访问,508兼容的Ajax加载指示器 [英] Accessible, 508 compliant Ajax Loading Indicator

查看:157
本文介绍了可访问,508兼容的Ajax加载指示器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何制作符合Ajax载入指标的/ 508兼容的。我的预先遵从性策略是这样的:如果请求未在一秒内完成,则启动ajax请求,设置超时以显示指示符(div包含带文本的段落和位于屏幕中央的微调器),如果指示符显示请求完成时,删除指示器。我试着做一些事情,比如将焦点放在指标文字上无济于事。 JAWS版本9(不支持WAI-ARIA)是目标屏幕阅读器,我正在使用jQuery,尽管任何解决方案都可以。

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.

谢谢!

推荐答案

如果您使用Jaws 9,则无法执行此操作。我可以考虑两种选择。一个是弹出一个警告框告诉用户要有耐心。选项二将添加一个只读文本字段并用定时器值更新该字段。我认为如果用户进入表单模式,下颌会发现变化,但由于我没有安装Web开发,所以无法进行测试。我真的建议你推出新版本的Jaws,并将WAI-ARIA作为卖点。活reagons会使这很轻松。

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.

这篇关于可访问,508兼容的Ajax加载指示器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆