Skip to content

Commit

Permalink
Merge 43182cd into ddf9f9b
Browse files Browse the repository at this point in the history
  • Loading branch information
HalvorHaugan authored Oct 23, 2024
2 parents ddf9f9b + 43182cd commit 1770436
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tiny-jobs-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-react": patch
---

Checkbox: Remove redundant attribute aria-checked
1 change: 0 additions & 1 deletion @navikt/core/react/src/form/checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
{...omit(inputProps, ["aria-invalid"])}
type="checkbox"
className="navds-checkbox__input"
aria-checked={props.indeterminate ? "mixed" : inputProps.checked}
ref={(el) => {
if (el) {
el.indeterminate = props.indeterminate ?? false;
Expand Down

0 comments on commit 1770436

Please sign in to comment.