Skip to content

Commit 0961878

Browse files
committed
fix: revert focus styling
1 parent 2273fc9 commit 0961878

File tree

1 file changed

+1
-1
lines changed
  • packages/pluggableWidgets/switch-web/src/components

1 file changed

+1
-1
lines changed

packages/pluggableWidgets/switch-web/src/components/Switch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function Switch(props: SwitchProps): ReactElement {
3838
role="switch"
3939
aria-checked={props.isChecked}
4040
aria-labelledby={`${props.id}-label`}
41-
aria-readonly={!props.editable}
41+
aria-disabled={!props.editable}
4242
>
4343
<div
4444
className={classNames("widget-switch-btn", {

0 commit comments

Comments
 (0)