Skip to content

Commit d778c25

Browse files
fix(Sa11y): mobile iframe titles (#5043)
* fix(path): test file linting * fix(iframes): add title to checkbox toggle mobile frame * fix(path): add title to mobile iframe for Storybook * fix(path): test file linting Co-authored-by: DouG Molidor <[email protected]>
1 parent 74a742e commit d778c25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/components/checkbox-toggle/docs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ checkbox.indeterminate = true;
4545

4646
<MobileBlurb patternSpecificText="checkbox toggles will have an increased label text size" />
4747

48-
<CodeView frameOnly>{getDisplayElementById(CheckboxToggleExamples.default)}</CodeView>
48+
<CodeView frameOnly frameTitle="Example mobile styles for checkbox toggle">{getDisplayElementById(CheckboxToggleExamples.default)}</CodeView>
4949

5050
## Base
5151

ui/components/path/base/example.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ export const states = [
429429
id: 'mobile-default',
430430
label: 'Mobile: default',
431431
element: (
432-
<SLDSFrame hideDeviceSelector>
432+
<SLDSFrame hideDeviceSelector frameTitle="Example mobile styles for path">
433433
<PathBase />
434434
</SLDSFrame>
435435
)

0 commit comments

Comments
 (0)