gpt4 book ai didi

javascript - AngularJS 和 508 标准

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:16:54 24 4
gpt4 key购买 nike

我正在使用 AngularJS 为 Web 应用程序创建分析。应用程序需要符合 508 标准。

我知道某些用于可访问性的设备直接读取 HTML 并在元素中使用 alt 和 longDescr 属性,它们获取网站的内容。

我看到的问题是,如果您看到页面源代码(不是生成的源代码),当在 Angular 中使用某些功能(如 ng-view 和 ng-include)时,插入页面的模板内容将不会显示在源代码,仅在生成的源中。

请问动态插入模板是否符合508标准?

一般来说,AngularJS 的特性与 508 标准的兼容性如何?

最佳答案

Angular.js can be used accessibly在实践中,尽管确实需要一些工作。

但是,当前形式的第 508 节仍然引用 WCAG 1.0,但存在一些细微差别。

两者都不是很友好的脚本,section 508 text对于 1194.22(第一部分)是:

When pages utilize scripting languages to display content, or to create interface elements, the information provided by the script shall be identified with functional text that can be read by assistive technology.

Angular 不太实用。

第 508 节将更新为在某个阶段使用 WCAG 2(它指定基于 JavaScript 的接口(interface)应该是可访问的),它已经进行了多年,但是 the "rulemaking" has not completed yet截至 2014 年 12 月。

关于javascript - AngularJS 和 508 标准,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27112541/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com