diff --git a/src/core/client/ui/components/Tabs/Tab.tsx b/src/core/client/ui/components/Tabs/Tab.tsx index e0fd95eb8..74cb146fd 100644 --- a/src/core/client/ui/components/Tabs/Tab.tsx +++ b/src/core/client/ui/components/Tabs/Tab.tsx @@ -1,5 +1,5 @@ import cn from "classnames"; -import React, { ReactNode } from "react"; +import React from "react"; import { withStyles } from "talk-ui/hocs"; import * as styles from "./Tab.css"; @@ -55,12 +55,17 @@ class Tab extends React.Component { className={rootClassName} key={`${tabId}-tab`} id={`${tabId}-tab`} - role="tab" + role="presentation" onClick={this.handleTabClick} - aria-controls={tabId} - aria-selected={active} > - {children} + ); }