使用通用的关闭图标来解散内容,如模式和警报。
确保为屏幕阅读器添加文字,正如我们操作aria-label那样。
aria-label
打开getbootstrap.com上的示例
<button type="button" class="close" aria-label="Close"> <span aria-hidden="true">×</span> </button>
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com
分享手册到朋友圈
扫码关注腾讯云开发者
领取腾讯云代金券