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

View File

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