diff --git a/core/themes/seven/js/dropzone.es6.js b/core/themes/seven/js/dropzone.es6.js index 6da013938d..43aaf6dcc0 100644 --- a/core/themes/seven/js/dropzone.es6.js +++ b/core/themes/seven/js/dropzone.es6.js @@ -59,15 +59,6 @@ .attr('aria-hidden', 'true') .attr('tabindex', '-1'); - // Associate field label with the new button to make sure it is - // announced to screen readers. - const buttonId = `${$(this).attr('id')}-add-button`; - $button.attr('id', buttonId); - $(this) - .parents('.js-form-type-managed-file') - .find('label') - .attr('for', buttonId); - // Create dropzone HTML. const $dropzone = $(`