diff --git a/__snapshots__/switch/showcase/chromium-highContrast/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png b/__snapshots__/switch/showcase/chromium-highContrast/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png index 18de254d446a..adf0acbe60c4 100644 Binary files a/__snapshots__/switch/showcase/chromium-highContrast/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png and b/__snapshots__/switch/showcase/chromium-highContrast/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png differ diff --git a/__snapshots__/switch/showcase/chromium-highContrast/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml b/__snapshots__/switch/showcase/chromium-highContrast/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml index 84285be8e5a1..6adeb525a287 100644 --- a/__snapshots__/switch/showcase/chromium-highContrast/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml +++ b/__snapshots__/switch/showcase/chromium-highContrast/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml @@ -25,17 +25,17 @@ - text: "True" - status - link "Visual Aid" - - switch "(Default) False + Unchecked" - - text: (Default) False + Unchecked + - switch "(Default) False (Unchecked)" + - text: (Default) False (Unchecked) - status - - switch "(Default) False + Checked" [checked] - - text: (Default) False + Checked + - switch "(Default) False (Checked)" [checked] + - text: (Default) False (Checked) - status - - switch "True + Unchecked" - - text: True + Unchecked + - switch "True (Unchecked)" + - text: True (Unchecked) - status - - switch "True + Checked" [checked] - - text: True + Checked + - switch "True (Checked)" [checked] + - text: True (Checked) - status - link "Size" - switch "(Default) Medium" diff --git a/__snapshots__/switch/showcase/chromium/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png b/__snapshots__/switch/showcase/chromium/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png index 410d43d03335..8626fc1b30d7 100644 Binary files a/__snapshots__/switch/showcase/chromium/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png and b/__snapshots__/switch/showcase/chromium/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png differ diff --git a/__snapshots__/switch/showcase/chromium/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml b/__snapshots__/switch/showcase/chromium/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml index 84285be8e5a1..6adeb525a287 100644 --- a/__snapshots__/switch/showcase/chromium/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml +++ b/__snapshots__/switch/showcase/chromium/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml @@ -25,17 +25,17 @@ - text: "True" - status - link "Visual Aid" - - switch "(Default) False + Unchecked" - - text: (Default) False + Unchecked + - switch "(Default) False (Unchecked)" + - text: (Default) False (Unchecked) - status - - switch "(Default) False + Checked" [checked] - - text: (Default) False + Checked + - switch "(Default) False (Checked)" [checked] + - text: (Default) False (Checked) - status - - switch "True + Unchecked" - - text: True + Unchecked + - switch "True (Unchecked)" + - text: True (Unchecked) - status - - switch "True + Checked" [checked] - - text: True + Checked + - switch "True (Checked)" [checked] + - text: True (Checked) - status - link "Size" - switch "(Default) Medium" diff --git a/__snapshots__/switch/showcase/firefox/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png b/__snapshots__/switch/showcase/firefox/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png index b8803016a412..c4f29e70c222 100644 Binary files a/__snapshots__/switch/showcase/firefox/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png and b/__snapshots__/switch/showcase/firefox/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png differ diff --git a/__snapshots__/switch/showcase/firefox/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml b/__snapshots__/switch/showcase/firefox/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml index 84285be8e5a1..6adeb525a287 100644 --- a/__snapshots__/switch/showcase/firefox/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml +++ b/__snapshots__/switch/showcase/firefox/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml @@ -25,17 +25,17 @@ - text: "True" - status - link "Visual Aid" - - switch "(Default) False + Unchecked" - - text: (Default) False + Unchecked + - switch "(Default) False (Unchecked)" + - text: (Default) False (Unchecked) - status - - switch "(Default) False + Checked" [checked] - - text: (Default) False + Checked + - switch "(Default) False (Checked)" [checked] + - text: (Default) False (Checked) - status - - switch "True + Unchecked" - - text: True + Unchecked + - switch "True (Unchecked)" + - text: True (Unchecked) - status - - switch "True + Checked" [checked] - - text: True + Checked + - switch "True (Checked)" [checked] + - text: True (Checked) - status - link "Size" - switch "(Default) Medium" diff --git a/__snapshots__/switch/showcase/mobile-chrome/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png b/__snapshots__/switch/showcase/mobile-chrome/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png index fe8c81998829..da9475e2108b 100644 Binary files a/__snapshots__/switch/showcase/mobile-chrome/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png and b/__snapshots__/switch/showcase/mobile-chrome/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png differ diff --git a/__snapshots__/switch/showcase/mobile-chrome/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml b/__snapshots__/switch/showcase/mobile-chrome/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml index 84285be8e5a1..6adeb525a287 100644 --- a/__snapshots__/switch/showcase/mobile-chrome/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml +++ b/__snapshots__/switch/showcase/mobile-chrome/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml @@ -25,17 +25,17 @@ - text: "True" - status - link "Visual Aid" - - switch "(Default) False + Unchecked" - - text: (Default) False + Unchecked + - switch "(Default) False (Unchecked)" + - text: (Default) False (Unchecked) - status - - switch "(Default) False + Checked" [checked] - - text: (Default) False + Checked + - switch "(Default) False (Checked)" [checked] + - text: (Default) False (Checked) - status - - switch "True + Unchecked" - - text: True + Unchecked + - switch "True (Unchecked)" + - text: True (Unchecked) - status - - switch "True + Checked" [checked] - - text: True + Checked + - switch "True (Checked)" [checked] + - text: True (Checked) - status - link "Size" - switch "(Default) Medium" diff --git a/__snapshots__/switch/showcase/mobile-safari/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml b/__snapshots__/switch/showcase/mobile-safari/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml index 84285be8e5a1..6adeb525a287 100644 --- a/__snapshots__/switch/showcase/mobile-safari/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml +++ b/__snapshots__/switch/showcase/mobile-safari/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml @@ -25,17 +25,17 @@ - text: "True" - status - link "Visual Aid" - - switch "(Default) False + Unchecked" - - text: (Default) False + Unchecked + - switch "(Default) False (Unchecked)" + - text: (Default) False (Unchecked) - status - - switch "(Default) False + Checked" [checked] - - text: (Default) False + Checked + - switch "(Default) False (Checked)" [checked] + - text: (Default) False (Checked) - status - - switch "True + Unchecked" - - text: True + Unchecked + - switch "True (Unchecked)" + - text: True (Unchecked) - status - - switch "True + Checked" [checked] - - text: True + Checked + - switch "True (Checked)" [checked] + - text: True (Checked) - status - link "Size" - switch "(Default) Medium" diff --git a/__snapshots__/switch/showcase/webkit/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml b/__snapshots__/switch/showcase/webkit/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml index 84285be8e5a1..6adeb525a287 100644 --- a/__snapshots__/switch/showcase/webkit/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml +++ b/__snapshots__/switch/showcase/webkit/should-have-same-aria-snapshot/DBSwitch-should-have-same-aria-snapshot.yaml @@ -25,17 +25,17 @@ - text: "True" - status - link "Visual Aid" - - switch "(Default) False + Unchecked" - - text: (Default) False + Unchecked + - switch "(Default) False (Unchecked)" + - text: (Default) False (Unchecked) - status - - switch "(Default) False + Checked" [checked] - - text: (Default) False + Checked + - switch "(Default) False (Checked)" [checked] + - text: (Default) False (Checked) - status - - switch "True + Unchecked" - - text: True + Unchecked + - switch "True (Unchecked)" + - text: True (Unchecked) - status - - switch "True + Checked" [checked] - - text: True + Checked + - switch "True (Checked)" [checked] + - text: True (Checked) - status - link "Size" - switch "(Default) Medium" diff --git a/showcases/screen-reader/__snapshots__/windows/chromium/DBSwitch-icon-1.txt b/showcases/screen-reader/__snapshots__/windows/chromium/DBSwitch-icon-1.txt index ca6989b66b93..61bff9a6dd95 100644 --- a/showcases/screen-reader/__snapshots__/windows/chromium/DBSwitch-icon-1.txt +++ b/showcases/screen-reader/__snapshots__/windows/chromium/DBSwitch-icon-1.txt @@ -1 +1 @@ -["check box, not checked, (Default) False plus Unchecked","check box, checked, (Default) False plus Checked","not checked"] \ No newline at end of file +["check box, not checked, (Default) False (Unchecked)","check box, checked, (Default) False (Checked)","not checked"] \ No newline at end of file diff --git a/showcases/shared/switch.json b/showcases/shared/switch.json index 6fcd1a7492f3..24d7e402c27e 100644 --- a/showcases/shared/switch.json +++ b/showcases/shared/switch.json @@ -57,20 +57,20 @@ "name": "Visual Aid", "examples": [ { - "name": "(Default) False + Unchecked", + "name": "(Default) False (Unchecked)", "props": { "visualAid": false } }, { - "name": "(Default) False + Checked", + "name": "(Default) False (Checked)", "props": { "visualAid": false, "checked": true } }, { - "name": "True + Unchecked", + "name": "True (Unchecked)", "props": { "visualAid": true, "iconLeading": "moon", @@ -78,7 +78,7 @@ } }, { - "name": "True + Checked", + "name": "True (Checked)", "props": { "visualAid": true, "checked": true,