Merge pull request #840 from brainlulz/fix/ally-focus-downloadFile

fix: added a tabindex to the CopyUrl and Delete icon
This commit is contained in:
Danny Coates 2018-06-04 09:31:02 -07:00 committed by GitHub
commit 6d4973391a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,8 @@ module.exports = function(file, state, emit) {
onclick=${copyClick} onclick=${copyClick}
src="${assets.get('copy-16.svg')}" src="${assets.get('copy-16.svg')}"
class="cursor--pointer" class="cursor--pointer"
title="${state.translate('copyUrlHover')}"> title="${state.translate('copyUrlHover')}"
tabindex="0">
<span hidden="true"> <span hidden="true">
${state.translate('copiedUrl')} ${state.translate('copiedUrl')}
</span> </span>
@ -33,7 +34,8 @@ module.exports = function(file, state, emit) {
onclick=${showPopup} onclick=${showPopup}
src="${assets.get('close-16.svg')}" src="${assets.get('close-16.svg')}"
class="cursor--pointer" class="cursor--pointer"
title="${state.translate('deleteButtonHover')}"> title="${state.translate('deleteButtonHover')}"
tabindex="0">
${deletePopup( ${deletePopup(
state.translate('deletePopupText'), state.translate('deletePopupText'),
state.translate('deletePopupYes'), state.translate('deletePopupYes'),