diff --git a/.changeset/wet-scissors-tickle.md b/.changeset/wet-scissors-tickle.md new file mode 100644 index 0000000000..6280a26b3e --- /dev/null +++ b/.changeset/wet-scissors-tickle.md @@ -0,0 +1,5 @@ +--- +"@digdir/designsystemet-react": patch +--- + +Spinner: `aria-label` required instead of `title` prop diff --git a/apps/theme/components/Previews/Components/Components.tsx b/apps/theme/components/Previews/Components/Components.tsx index faa5e397a4..dcba9afb69 100644 --- a/apps/theme/components/Previews/Components/Components.tsx +++ b/apps/theme/components/Previews/Components/Components.tsx @@ -415,8 +415,8 @@ export const Components = () => {
- - + +
diff --git a/packages/react/src/components/Button/Button.tsx b/packages/react/src/components/Button/Button.tsx index a3cff1f39d..b2d62be482 100644 --- a/packages/react/src/components/Button/Button.tsx +++ b/packages/react/src/components/Button/Button.tsx @@ -78,7 +78,7 @@ export const Button = forwardRef( {...rest} > {loading === true ? ( -