diff --git a/src/Button/Button.svelte b/src/Button/Button.svelte index 6f8a0c5c..00f58160 100644 --- a/src/Button/Button.svelte +++ b/src/Button/Button.svelte @@ -97,7 +97,8 @@ tabindex, disabled: disabled === true ? true : undefined, href, - "aria-pressed": hasIconOnly && kind === "ghost" ? isSelected : undefined, + "aria-pressed": + hasIconOnly && kind === "ghost" && !href ? isSelected : undefined, ...$$restProps, class: [ "bx--btn",