Skip to content

Commit c042d2a

Browse files
committedJul 28, 2019
Merge pull request #2997 from afrisalyp/2802
2802
1 parent 6847666 commit c042d2a

File tree

1 file changed

+3
-0
lines changed
  • src/shared/components/SwitchWithLabel

1 file changed

+3
-0
lines changed
 

‎src/shared/components/SwitchWithLabel/index.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ function SwitchWithLabel({
2323
className={theme.wrapper}
2424
onClick={() => onSwitch(!enabled)}
2525
onKeyPress={() => onSwitch(!enabled)}
26+
role="switch"
27+
aria-checked={enabled}
28+
tabIndex={0}
2629
>
2730
{labelBefore}
2831
<Switch

0 commit comments

Comments
 (0)
Please sign in to comment.