Is there a solution for this? After I select a row in my table, I want to move up and down between the selected rows with the arrow keys.

@ahmadnasriya Yes, you’re right my answer is wrong and can’t work well .

The only solution I can see is to create a table using custom elements, and add an event listener to detect keydown events.