Skip to content

Commit 9644cd5

Browse files
authored
fix(TextField): make prefix hidden to screen readers (#1362)
WEB-2160
1 parent 46b1138 commit 9644cd5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/text-field-base.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ export const TextFieldBase = React.forwardRef<any, TextFieldBaseProps>(
350350

351351
{prefix && (
352352
<div
353+
aria-hidden
353354
className={classNames(
354355
styles.prefix,
355356
hasLabel ? styles.inputWithLabel : styles.inputWithoutLabel

0 commit comments

Comments
 (0)