fix: add close modal to keyboard navigation

This commit is contained in:
Oliver Eyton-Williams
2019-12-18 09:36:43 +01:00
committed by mrugesh
parent 1289d35435
commit 6ef9345f92
2 changed files with 6 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ function DonateModal({ show, block, isBlockDonation, closeDonationModal }) {
bsStyle='primary'
className='btn-link'
onClick={closeDonationModal}
tabIndex='0'
>
{closeLabel ? 'Close.' : 'Ask me later.'}
</Button>