Skip to content

Commit

Permalink
fix: remove aria-checked from checkbox/radio inputs
Browse files Browse the repository at this point in the history
fix #7047
  • Loading branch information
tomdavies73 committed Nov 7, 2024
1 parent 83e0abd commit d397fe7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ const HiddenCheckableInput = React.forwardRef(
aria-labelledby={ariaLabelledBy}
autoFocus={autoFocus}
data-has-autofocus={autoFocus ? true : undefined}
aria-checked={checked}
checked={checked}
name={name}
role={role || type}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export const SimpleColor = React.forwardRef<HTMLInputElement, SimpleColorProps>(
type="radio"
role="radio"
value={value}
aria-checked={checked}
ref={ref}
id={inputId}
defaultChecked={defaultChecked}
Expand Down
1 change: 0 additions & 1 deletion src/components/tile-select/tile-select.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ const TileSelect = React.forwardRef<HTMLInputElement, TileSelectProps>(
type={type}
value={value}
disabled={disabled}
aria-checked={checked}
id={id}
ref={ref}
{...rest}
Expand Down

0 comments on commit d397fe7

Please sign in to comment.