Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
role 'slider' changed to be null when slider is not active
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroshk authored and sdadn committed Oct 23, 2023
1 parent d6a7426 commit 95dfd27
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ const ColumnResizeHandle = (props) => {
};

return (
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/no-static-element-interactions
<div
ref={resizeHandleRef}
draggable
role="slider"
role={isActive ? 'slider' : null}
tabIndex={-1}
aria-hidden={!isActive}
aria-valuemin={minimumWidth}
Expand Down

0 comments on commit 95dfd27

Please sign in to comment.