From: Marcel Werk Date: Fri, 15 Mar 2019 22:13:30 +0000 (+0100) Subject: Improved a11y of the loading indicator X-Git-Tag: 5.2.0_Alpha_1~217 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc2f17ab25eb779cbaa55923df4afa417ede113a;p=GitHub%2FWoltLab%2FWCF.git Improved a11y of the loading indicator See #2713 --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Status.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Status.js index ae952d1eff..0ab8f96ad0 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Status.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Status.js @@ -23,6 +23,7 @@ define(['Language'], function(Language) { _init: function() { _overlay = elCreate('div'); _overlay.classList.add('spinner'); + elAttr(_overlay, 'role', 'status'); var icon = elCreate('span'); icon.className = 'icon icon48 fa-spinner';