role has been changed to buttton for the graphic images of edit and delete buttons (#1652)

This commit is contained in:
MokireddySampath 2023-11-22 00:07:02 +05:30 committed by GitHub
parent 50bd17dd61
commit d0c75e4490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,6 +146,7 @@ export const TableEntity: FunctionComponent<TableEntityProps> = ({
onClick={onEditEntity} onClick={onEditEntity}
tabIndex={0} tabIndex={0}
onKeyPress={handleKeyPress} onKeyPress={handleKeyPress}
role="button"
/> />
</div> </div>
</TooltipHost> </TooltipHost>
@ -160,6 +161,7 @@ export const TableEntity: FunctionComponent<TableEntityProps> = ({
onClick={onDeleteEntity} onClick={onDeleteEntity}
tabIndex={0} tabIndex={0}
onKeyPress={handleKeyPressdelete} onKeyPress={handleKeyPressdelete}
role="button"
/> />
</TooltipHost> </TooltipHost>
)} )}