-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(switch): 修复朗读不可用问题. (#1018) #1096
Conversation
aaa1b90
to
fca42a8
Compare
@@ -49,6 +49,7 @@ | |||
.@{prefix}-switch { | |||
display: flex; | |||
align-items: center; | |||
overflow: hidden; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个样式是解决什么问题呀?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
现在的录屏没有将整个示例录完,辛苦 @byq1213 提供一个完整的录屏链接 |
完整演示: https://share.weiyun.com/rys6kBFw |
disabled="{{disabled}}" | ||
aria-checked="{{checked}}" | ||
aria-disabled="{{disabled}}" | ||
aria-role="checkbox" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为什么是在label上设计aria-role=checkbox呀?
🤔 这个 PR 的性质是?
🔗 相关 Issue
#1018
💡 需求背景和解决方案
📝 更新日志
☑️ 请求合并前的自查清单
演示链接:
https://share.weiyun.com/KbBwx0E0