mardi 2 mars 2021

WCAG guideline: 2.1.1 Keyboard

I have a Q on the wcag point 2.1.1 . In my application, I have a confirmation modal for "delete" action. So user click on "Delete" button and then "Are you sure " modal appears. In this modal, I have 2 buttons "Confirm" & "Cancel". Confirm is on the right, Cancel on the left. Which button should get focus on first?
I think as the guideline talks about meaningful sequences for a user, it should be Delete. Here the user intention is to confirm the action, so DELETE should have focus first.
Want to hear expert opinion. Thanks in advance

Aucun commentaire:

Enregistrer un commentaire