如何使用 jQuery UI 模式对话框遵守 508 标准
我正在尝试使用 jQuery-UI 模式对话框。但是,jQuery 创建的 html 包含一个空的 iframe 或没有 alt 标记值。此获取被标记为 508 违规。有没有人找到一种使用 508 兼容的 jQuery-UI 模式对话框的方法?
I'm trying to use the jQuery-UI modal dialog. However, the html that's created by jQuery includes an iframe that's empty or has no alt tag value. This get's flagged as a 508 violation. Has anyone found a way to use the jQuery-UI modal dialog that is 508 compliant?
您需要向 jQuery 控件添加“alt”属性。 $("elem").attr("alt", "一些文本").
如果该属性可用于该控件,则可以将其添加到组件定义中。
这有帮助吗?
You need to add the "alt" attribute to the jQuery control. $("elem").attr("alt", "some text").
You can add it to you component definition if the attribute is available for that control.
Does this help?