Skip to content

Commit

Permalink
fix(switch): 修复朗读勾选问题. (#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
byq1213 committed Nov 30, 2022
1 parent 530505c commit aaa1b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/switch/switch.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class="{{ prefix }}-class {{classPrefix}}"
bind:tap="handleSwitch"
disabled="{{disabled}}"
aria-checked="{{isActive}}"
aria-checked="{{checked}}"
aria-disabled="{{disabled}}"
aria-role="checkbox"
>
Expand Down

0 comments on commit aaa1b90

Please sign in to comment.