From f28a6078ecd091ca1aa4c95e0efa0da35bf68985 Mon Sep 17 00:00:00 2001 From: yqrashawn Date: Thu, 2 Jul 2020 18:59:47 +0800 Subject: [PATCH] fix(tabs): add role="button" to tab for a11y --- components/tabs/__tests__/__snapshots__/index.test.tsx.snap | 4 ++-- components/tabs/tabs.tsx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/tabs/__tests__/__snapshots__/index.test.tsx.snap b/components/tabs/__tests__/__snapshots__/index.test.tsx.snap index ce89867..87e6aae 100644 --- a/components/tabs/__tests__/__snapshots__/index.test.tsx.snap +++ b/components/tabs/__tests__/__snapshots__/index.test.tsx.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Tabs should render correctly 1`] = ` -"
label1
label2