Switch:Smoke Test

Build 36 on main
Reviewing disabled
View latest build
BaselineBuild 22 on main
View Storybook
LatestBuild 36 on main
View Storybook
The baseline is wider than the new snapshot (390x900 to 378x900).
Baseline History
Build 366d22412 current baseline
Current build. Auto-accepted
Build 3569b63a1
Inherited baseline identical to build 22
Build 22ea5f76e
Auto-accepted
Build 104f47b06
Auto-accepted
Build 34fb5676
Auto-accepted
Build 29e225c8
Auto-accepted
Every <button> needs a visible label or accessible name. Learn how to resolve this violation
Snapshot of test

Fix any of the following:

Element does not have inner text that is visible to screen readers

aria-label attribute does not exist or is empty

aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty

Element has no title attribute

Element does not have an implicit (wrapped) <label>

Element does not have an explicit <label>

Element's default semantics were not overridden with role="none" or role="presentation"

Element
<button type="button" role="switch" aria-checked="false" data-state="unchecked" value="on" data-slot="switch" class="peer data-[state=che...">
Selector
.space-y-6 > .space-y-4 > .flex.justify-between.items-center:nth-child(1) > .peer.data-\[state\=checked\]\:bg-primary.data-\[state\=unchecked\]\:bg-input