From 389b99fe62f1599cfcc4617f0c1ab58f85bba6d0 Mon Sep 17 00:00:00 2001 From: atanasster Date: Thu, 29 Apr 2021 11:38:02 -0400 Subject: [PATCH] fix: fix ally issues from axe-core 4.2 --- .../VariantButton/VariantButton.stories.tsx | 2 +- .../__snapshots__/ImagesBlock.test.ts.snap | 2 +- .../__snapshots__/NotesBlock.test.ts.snap | 8 ++-- .../__snapshots__/AttributeUsage.test.ts.snap | 4 +- .../AttributesUsageDetails.test.ts.snap | 4 +- .../AttributesUsageList.test.ts.snap | 8 ++-- .../__snapshots__/ComponentUsage.test.ts.snap | 4 +- .../ComponentUsageDetails.test.ts.snap | 4 +- .../ComponentUsageList.test.ts.snap | 4 +- .../FigmaEmbedBlock.stories.tsx | 6 +-- .../FigmaEmbedBlock.test.ts.snap | 12 +++--- .../__snapshots__/Sidebar.test.ts.snap | 2 +- .../__snapshots__/SidebarsPage.test.ts.snap | 30 +++++++-------- .../ComponentSource.test.ts.snap | 14 +++---- .../__snapshots__/Playground.test.ts.snap | 16 ++++---- .../__snapshots__/PropsTable.test.ts.snap | 10 ++--- .../__snapshots__/Stories.test.ts.snap | 38 +++++++++---------- .../Story/__snapshots__/Story.test.ts.snap | 10 ++--- .../__snapshots__/StoryConfig.test.ts.snap | 10 ++--- .../__snapshots__/StorySource.test.ts.snap | 6 +-- ui/blocks/src/test/storyStore.tsx | 2 +- .../src/BlockContainer/BlockContainer.tsx | 4 +- .../__snapshots__/BlockContainer.test.ts.snap | 12 +++--- ui/components/src/LinkHeading/LinkHeading.tsx | 2 +- .../__snapshots__/LinkHeading.test.ts.snap | 2 +- .../__snapshots__/Markdown.test.ts.snap | 10 ++--- ui/components/src/Tree/Tree.tsx | 8 +--- .../src/Tree/__snapshots__/Tree.test.ts.snap | 14 +++---- ui/editors/src/DateEditor/DateEditor.tsx | 27 ++++++------- .../__snapshots__/DateEditor.test.ts.snap | 26 +++++++------ ui/editors/src/FilesEditor/FilesEditor.tsx | 2 +- .../__snapshots__/FilesEditor.test.ts.snap | 2 +- 32 files changed, 150 insertions(+), 155 deletions(-) diff --git a/examples/stories/src/stories/VariantButton/VariantButton.stories.tsx b/examples/stories/src/stories/VariantButton/VariantButton.stories.tsx index 1f0c3f38f..9579f2dc4 100644 --- a/examples/stories/src/stories/VariantButton/VariantButton.stories.tsx +++ b/examples/stories/src/stories/VariantButton/VariantButton.stories.tsx @@ -13,7 +13,7 @@ export default { figma: [ { url: 'https://www.figma.com/file/vgf0guEmC5IKtjHJKkRVSr', - 'aria-label': 'figma design file', + title: 'figma design file', }, ], notes: { diff --git a/plugins/addon-images/src/ImagesBlock/__snapshots__/ImagesBlock.test.ts.snap b/plugins/addon-images/src/ImagesBlock/__snapshots__/ImagesBlock.test.ts.snap index 1168121da..614ff70bd 100644 --- a/plugins/addon-images/src/ImagesBlock/__snapshots__/ImagesBlock.test.ts.snap +++ b/plugins/addon-images/src/ImagesBlock/__snapshots__/ImagesBlock.test.ts.snap @@ -13,7 +13,7 @@ exports[`ImagesBlock customConfigProps snapshot 1`] = ` class="css-xhp9da" > Attributes usage ref ref id Components usage ArrowButton Button { { url: 'https://www.figma.com/file/hS1sLjYq49vjnKXhwGgHwg/Navigation-UI-design-components-Community?node-id=1%3A2309', - 'aria-label': 'design document 1', + title: 'design document 1', }, { url: 'https://www.figma.com/file/LtgbR2mbVPbQTNDfDQxbKL/Atanas-Stoyanov-s-Team-Colors?node-id=0%3A1', - 'aria-label': 'design document 2', + title: 'design document 2', }, ]} /> @@ -67,7 +67,7 @@ export const customIFrameProps: Example = () => { { url: 'https://www.figma.com/file/vgf0guEmC5IKtjHJKkRVSr/Button?node-id=0%3A1', - 'aria-label': 'figma design file', + title: 'figma design file', height: '300', }, ]} diff --git a/plugins/figma-embed/src/FigmaEmbedBlock/__snapshots__/FigmaEmbedBlock.test.ts.snap b/plugins/figma-embed/src/FigmaEmbedBlock/__snapshots__/FigmaEmbedBlock.test.ts.snap index c4e65b2d1..a257df67f 100644 --- a/plugins/figma-embed/src/FigmaEmbedBlock/__snapshots__/FigmaEmbedBlock.test.ts.snap +++ b/plugins/figma-embed/src/FigmaEmbedBlock/__snapshots__/FigmaEmbedBlock.test.ts.snap @@ -21,10 +21,10 @@ exports[`FigmaEmbedBlock customConfigProps snapshot 1`] = `