Skip to content

Commit

Permalink
improve accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
VachetVirginie committed Jul 24, 2024
1 parent 61224d0 commit 074959b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions packages/synapse-bridge/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export default antfu({
'style/indent': 'off',
'style/quotes': ['error', 'single'],
'style/no-tabs': 'off',
'vuejs-accessibility/label-has-for': ['error', { required: { every: ['nesting'] } }],
'vuejs-accessibility/anchor-has-content': 'off',
},
}, {
ignores: ['public/**/*'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ export default defineComponent({
class="vd-file-upload d-block pa-4"
role="button"
tabindex="0"
@dragleave="dragover = false"
for="file-upload-input"
@dragleave="dragover = false"
@dragover.prevent="dragover = true"
@drop.prevent="disabled ? null : dropHandler($event)"
>
Expand Down

0 comments on commit 074959b

Please sign in to comment.