Commit 0af77c24 authored by webchick's avatar webchick
Browse files

Issue #1333292 by mgifford: Fixed Screen-reader users receive no info about...

Issue #1333292 by mgifford: Fixed Screen-reader users receive no info about file upload status / success.
parent a63c6cbc
......@@ -99,7 +99,7 @@ Drupal.file = Drupal.file || {
'%filename': this.value.replace('C:\\fakepath\\', ''),
'%extensions': extensionPattern.replace(/\|/g, ', ')
});
$(this).closest('div.form-managed-file').prepend('<div class="messages error file-upload-js-error">' + error + '</div>');
$(this).closest('div.form-managed-file').prepend('<div class="messages error file-upload-js-error" aria-live="polite">' + error + '</div>');
this.value = '';
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment