akiran / akiran/react-slick

TabIndex value of slide need to update as "0" when aira-hidden="false".

未关闭
#1,961 0 条评论 12 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
11.9k
派生
2.1k
PR 合并指标
30 天内没有已合并 PR

描述

**Facing Accessibility issues**

TabIndex value of slide need to update as "0" when aira-hidden="false".

![image](https://user-images.githubusercontent.com/34887631/103899923-23b68e00-511d-11eb-9e67-5b186307cd14.png)

To fix this issue, all the interactive elements (i.g button, links) inside the div tag should change to tabindex="-1" as per the condition of the aria-hidden true or false attribute. tabindex="-1" should be dynamic and change from "-1" to "0" if the content is hidden or not. In order words, all the elements that are not displayed in the carousel should be using hidden attribute value true together with tabindex -1 and when the value change to false and the information is displayed in the rotator tabindex 0

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。