gpt4 book ai didi

javascript - 图片库幻灯片/轮播是否需要暂停按钮才能访问?

转载 作者:行者123 更新时间:2023-11-28 17:37:53 25 4
gpt4 key购买 nike

我正在尝试了解此处介绍的 WCAG 针对幻灯片和轮播的辅助功能指南:What Makes a Carousel Accessible?

具体来说,我不确定轮播显示变化的图像而不是文本信息的情况。在这种情况下还需要暂停/播放按钮吗?

例如this website首页的轮播需要暂停/播放按钮才能被视为可访问吗?

谢谢!

最佳答案

是的,为了满足WCAG2.0标准2.2.2 Pause, Stop, Hide (Level A)您需要允许用户暂停轮播,无论幻灯片是否包含任何文本信息。如果移动持续时间超过 5 秒(可能会假设它是一个不间断的循环轮播),用户必须能够暂停它。

如果您阅读理解 2.2.2(上一段中的超链接),它提到:

The intent of this Success Criterion is to avoid distracting users during their interaction with a Web page.

"Moving, blinking and scrolling" refers to content in which the visible content conveys a sense of motion. Common examples include motion pictures, synchronized media presentations, animations, real-time games, and scrolling stock tickers.

Moving content can also be a severe distraction for some people. Certain groups, particularly those with attention deficit disorders, find blinking content distracting, making it difficult for them to concentrate on other parts of the Web page. Five seconds was chosen because it is long enough to get a user's attention, but not so long that a user cannot wait out the distraction if necessary to use the page.

如果您的移动幻灯片包含需要阅读的信息,这一点尤其重要,但出于上述原因,对于仅移动图像的幻灯片来说,这一点也是必需的。

关于javascript - 图片库幻灯片/轮播是否需要暂停按钮才能访问?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48667732/

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