Add disable - flagging because role is in a variable

This commit is contained in:
tidy-dev 2023-09-26 08:49:58 -04:00
parent fd68638dd0
commit 5ca23ec5e6

View file

@ -186,7 +186,7 @@ export class MenuListItem extends React.Component<IMenuListItemProps, {}> {
const ariaChecked = type === 'checkbox' ? item.checked : undefined const ariaChecked = type === 'checkbox' ? item.checked : undefined
return ( return (
// eslint-disable-next-line jsx-a11y/click-events-have-key-events // eslint-disable-next-line jsx-a11y/click-events-have-key-events, github/a11y-role-supports-aria-props
<div <div
id={this.props.menuItemId} id={this.props.menuItemId}
className={className} className={className}