Skip to content

Commit

Permalink
ConfirmModal: Auto focus delete button (#34917) (#34959)
Browse files Browse the repository at this point in the history
(cherry picked from commit ef13f7e)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
  • Loading branch information
grafanabot and torkelo committed May 31, 2021
1 parent 2335c3d commit f6b0cd7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export const ConfirmModal = ({
variant="destructive"
onClick={onConfirm}
disabled={disabled}
autoFocus
aria-label={selectors.pages.ConfirmModal.delete}
>
{confirmText}
Expand Down

0 comments on commit f6b0cd7

Please sign in to comment.