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"> <span id="file-size-msg">
<em>${state.translate('uploadPageSizeMessage')}</em> <em>${state.translate('uploadPageSizeMessage')}</em>
</span> </span>
<label for="file-upload"
id="browse"
class="btn browse"
title="${state.translate('uploadPageBrowseButton1')}">
${state.translate('uploadPageBrowseButton1')}</label>
<input id="file-upload" <input id="file-upload"
type="file" type="file"
name="fileUploaded" name="fileUploaded"
onfocus=${onfocus} onfocus=${onfocus}
onblur=${onblur} onblur=${onblur}
onchange=${upload} /> onchange=${upload} />
<label for="file-upload"
id="browse"
class="btn browse"
title="${state.translate('uploadPageBrowseButton1')}">
${state.translate('uploadPageBrowseButton1')}</label>
</div> </div>
${fileList(state, emit)} ${fileList(state, emit)}
</div> </div>