loading: Add aria-hidden="true" attribute to loading spinners.

Fixes #16082.
This commit is contained in:
Shanu 2020-08-10 05:17:56 +05:30 committed by GitHub
parent 8ba55b090a
commit b5b7bc9a7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ exports.make_indicator = function (outer_container, opts) {
container = inner_container;
}
const spinner_elem = $('<div class="loading_indicator_spinner"></div>');
const spinner_elem = $('<div class="loading_indicator_spinner" aria-hidden="true"></div>');
spinner_elem.html(render_loader({container_id: outer_container.attr("id")}));
container.append(spinner_elem);
let text_width = 0;