Skip to content

Commit

Permalink
fix(Collapse): polish component to fulfill a11y rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sarkaaa committed Oct 24, 2024
1 parent 5b97a63 commit b278439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/orbit-components/src/Collapse/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ const Collapse = ({
data-test={dataTest}
id={id}
>
{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}
{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions */}
<div
className="block w-full cursor-pointer"
onClick={handleClick}
role="button"
role="group"
tabIndex={-1}
id={labelID}
>
Expand Down

0 comments on commit b278439

Please sign in to comment.