Skip to content

Commit

Permalink
Radio: fix an console error caused by using of an improper prop
Browse files Browse the repository at this point in the history
fix "Blocked aria-hidden on a <inpit> element" problem by replacing "aria-hidden" prop with "role" prop
  • Loading branch information
Yinjie Wu committed Aug 9, 2024
1 parent c345bb4 commit 91f05ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/radio/src/radio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
class="el-radio__original"
:value="label"
type="radio"
aria-hidden="true"
role="presentation"
v-model="model"
@focus="focus = true"
@blur="focus = false"
Expand Down

0 comments on commit 91f05ef

Please sign in to comment.