mirror of https://github.com/zulip/zulip.git
loading: Add aria-hidden="true" attribute to loading spinners.
Fixes #16082.
This commit is contained in:
parent
8ba55b090a
commit
b5b7bc9a7c
|
@ -27,7 +27,7 @@ exports.make_indicator = function (outer_container, opts) {
|
||||||
container = inner_container;
|
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")}));
|
spinner_elem.html(render_loader({container_id: outer_container.attr("id")}));
|
||||||
container.append(spinner_elem);
|
container.append(spinner_elem);
|
||||||
let text_width = 0;
|
let text_width = 0;
|
||||||
|
|
Loading…
Reference in New Issue