简体   繁体   English

localStorage或sessionStorage是否会影响网站的可访问性?

[英]Does localStorage or sessionStorage affect Website accessibility?

I would like to use localStorage/sessionStorage to store essential information during a commerce process, which includes site reloads/redirects. 我想在商务过程中使用localStorage / sessionStorage来存储基本信息,其中包括站点重新加载/重定向。 Forms are not an option. 表格不是一种选择。

That implies, that the user has to have JavaScript enabled. 这意味着用户必须启用JavaScript。 That fact and the usage of these techniques, could it affect accessibility tools, for instance screen readers? 这个事实以及这些技术的使用,是否会影响可访问性工具,例如屏幕阅读器?

I could not found any information in the WAI-ARIA specification . 我在WAI-ARIA规范中找不到任何信息。

This is no longer considered as being a problem. 这不再被认为是一个问题。

This is documented in the WCAG FAQ : Can I meet WCAG 2.0 with Javascript/Ajax, Flash, PDF, Silverlight, and other technologies? WCAG FAQ中对此进行了记录: 我可以使用Javascript / Ajax,Flash,PDF,Silverlight和其他技术来满足WCAG 2.0吗?

More information can be read in the conformance claim chapter 更多信息可以在一致性声明一章中阅读

Javascript is considered nowadays as being "Accessibility Supported" but you would have to explicity state that this technology is "relied upon" in any conformance claim you may establish. 如今,Javascript被认为是“支持可访问性”,但是您可能必须明确声明在您可能建立的任何符合性声明中都“依赖”该技术。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM