You did correctly. The problem is you focused on the list item, but the system automatically changed the focus to SKU text input box before the action. So the DEL button will delete the text in the box, not the line item in the list.
You don’t need to create a virtual button for a physical button.