Skip to content

Commit 0c2bed1

Browse files
(FormElement): add aria-hidden='true' to the abbr element
1 parent 7b1ef61 commit 0c2bed1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/scripts/FormElement.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,11 @@ export const FormElement = createFC<
101101
onClick={id ? undefined : onClickLabel}
102102
>
103103
{required ? (
104-
<abbr className='slds-required' title='required'>
104+
<abbr
105+
className='slds-required'
106+
title='required'
107+
aria-hidden='true'
108+
>
105109
*
106110
</abbr>
107111
) : undefined}

0 commit comments

Comments
 (0)