From cc2f17ab25eb779cbaa55923df4afa417ede113a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 15 Mar 2019 23:13:30 +0100 Subject: [PATCH] Improved a11y of the loading indicator See #2713 --- wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Status.js | 1 + 1 file changed, 1 insertion(+) 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'; -- 2.20.1