Skip to content

Commit

Permalink
Tabにrole=buttonとtabIndexを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
hMatoba committed Oct 9, 2023
1 parent 7de43a9 commit a9884df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Tab/Tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export const Tab: React.FC<Props> = ({
}) => {
return (
<div
role="button"
tabIndex={0}
className={styles.tab}
data-selected={selected}
data-value={index}
Expand Down

0 comments on commit a9884df

Please sign in to comment.