From 84e1bf3338607c3dd360184d4b684ec7d395c7c6 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Wed, 16 Mar 2022 11:29:18 +0300 Subject: [PATCH] Adding tab role attributes Signed-off-by: Alex Andreev --- src/renderer/components/dock/dock-tabs.tsx | 2 +- src/renderer/components/tabs/tabs.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/dock/dock-tabs.tsx b/src/renderer/components/dock/dock-tabs.tsx index 8eb02c96c1..b89d701a1b 100644 --- a/src/renderer/components/dock/dock-tabs.tsx +++ b/src/renderer/components/dock/dock-tabs.tsx @@ -85,7 +85,7 @@ export const DockTabs = ({ tabs, autoFocus, selectedTab, onChangeTab }: DockTabs }); return ( -
+
{ onClick={this.onClick} onFocus={this.onFocus} onKeyDown={this.onKeyDown} + role="tab" ref={this.ref} > {typeof icon === "string" ? : icon}