role has been changed to buttton for the graphic images of edit and delete buttons (#1652)
This commit is contained in:
parent
50bd17dd61
commit
d0c75e4490
|
@ -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>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue