首页 > 数据库技术 > 详细

[HTML5] aria-label & aria-labelledby

时间:2018-03-12 22:43:34      阅读:284      评论:0      收藏:0      [点我收藏+]

‘aria-labelledby‘ overwrite ‘aria-label‘ overwirte native element label.

 

TOP-LEFT: aria-label overwrite native element label, so it is Gumnut.

TOP-RIGHT: it has role button, so the label is Wombat.

BOTTOM-LEFT: No labe, because label need id to bind to the input field, so need to add id="roo"

BOTTOM-RIGHT: aria-labelledby overwrite aria-label, so it is "Wallaby"

技术分享图片

 

[HTML5] aria-label & aria-labelledby

原文:https://www.cnblogs.com/Answer1215/p/8552257.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!