Skip to content

Commit

Permalink
refactor(a11y): aria role cell is not allowed for button element (#2637)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Dyachenko <[email protected]>
  • Loading branch information
dmitrydyachenko and Dmitry Dyachenko authored Nov 21, 2024
1 parent d52f836 commit 8c82121
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/DateHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ const DateHeader = ({ label, drilldownView, onDrillDown }) => {
}

return (
<button
type="button"
className="rbc-button-link"
onClick={onDrillDown}
role="cell"
>
<button type="button" className="rbc-button-link" onClick={onDrillDown}>
{label}
</button>
)
Expand Down

0 comments on commit 8c82121

Please sign in to comment.