fix keyboard navigation/visual feedback for upload

This commit is contained in:
ehuggett 2017-11-05 13:00:58 +00:00
parent f48159dc0b
commit 166b2f3a52

View file

@ -23,17 +23,17 @@ module.exports = function(state, emit) {
<span id="file-size-msg">
<em>${state.translate('uploadPageSizeMessage')}</em>
</span>
<label for="file-upload"
id="browse"
class="btn browse"
title="${state.translate('uploadPageBrowseButton1')}">
${state.translate('uploadPageBrowseButton1')}</label>
<input id="file-upload"
type="file"
name="fileUploaded"
onfocus=${onfocus}
onblur=${onblur}
onchange=${upload} />
<label for="file-upload"
id="browse"
class="btn browse"
title="${state.translate('uploadPageBrowseButton1')}">
${state.translate('uploadPageBrowseButton1')}</label>
</div>
${fileList(state, emit)}
</div>