Skip to content

Commit bc04e6d

Browse files
author
小豪
committed
fix: add aria-hidden attribute to visually hidden input element
1 parent 02aa14a commit bc04e6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ const InternalSegmentedOption: React.FC<{
107107
>
108108
<input
109109
className={`${prefixCls}-item-input`}
110+
aria-hidden="true"
110111
type="radio"
111112
disabled={disabled}
112113
checked={checked}

0 commit comments

Comments
 (0)