Improved a11y of the loading indicator
authorMarcel Werk <burntime@woltlab.com>
Fri, 15 Mar 2019 22:13:30 +0000 (23:13 +0100)
committerMarcel Werk <burntime@woltlab.com>
Fri, 15 Mar 2019 22:13:30 +0000 (23:13 +0100)
See #2713

wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Status.js

index ae952d1effe414ebfcc8b03937e176b97a503278..0ab8f96ad08aad2d8a174a121d979a795c56a657 100644 (file)
@@ -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';