Skip to content

Commit

Permalink
Merge pull request #849 from City-of-Helsinki/fix-test-warning
Browse files Browse the repository at this point in the history
Fix aria-attribute spelling to prevent test warning
  • Loading branch information
minevala authored Oct 10, 2022
2 parents c6c5645 + e90c1d8 commit f2c22ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/timeInput/TimeInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export const TimeInput = React.forwardRef<HTMLInputElement, TimeInputProps>(

return (
<InputWrapper {...wrapperProps} id={id} labelId={labelId} isAriaLabelledBy>
<div {...frameProps} role="group" aria-labelledBy={labelId}>
<div {...frameProps} role="group" aria-labelledby={labelId}>
<input
aria-hidden
readOnly
Expand Down

0 comments on commit f2c22ec

Please sign in to comment.