fix: added a tabindex to the CopyUrl and Delete icon

This commit is contained in:
Brainlulz 2018-06-03 11:36:20 +02:00
parent 196d4211b6
commit 0edfc8405f

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'),