加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

twitter-bootstrap – 这些属性是什么:`aria-labelledby`和`ari

发布时间:2020-12-17 23:11:26 所属栏目:安全 来源:网络整理
导读:使用Bootstrap模态,我已经看到了这些咏叹调属性很多,但我从来不知道如何使用它们。 有谁知道什么情况下使用这些属性?我googled – 只是没有找到任何直接的答案。 解决方法 HTML5 ARIA 属性是你要找的。它可以在您的代码中使用,即使没有引导。 Accessible
使用Bootstrap模态,我已经看到了这些咏叹调属性很多,但我从来不知道如何使用它们。

有谁知道什么情况下使用这些属性?我googled – 只是没有找到任何直接的答案。

解决方法

HTML5 ARIA属性是你要找的。它可以在您的代码中使用,即使没有引导。

Accessible Rich Internet Applications (ARIA) defines ways to make Web
content and Web applications (especially those developed with Ajax and
JavaScript) more accessible to people with disabilities.

为了你的问题,这里是你的属性称为ARIA attribute states and model

aria-labelledby: Identifies the element (or elements) that labels the current element.

aria-hidden (state): Indicates that the element and all of its descendants are not visible or perceivable to any user as implemented by the author.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读