From 554b4765ed25efce04c2bed50fa2a2177c078f3d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 23 Jun 2020 19:54:55 +0200 Subject: [PATCH] Refresh the aria label when the tooltip value is updated --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Tooltip.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Tooltip.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Tooltip.js index 3cdb58fed4..24adf15d0b 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Tooltip.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Tooltip.js @@ -97,6 +97,7 @@ define(['Environment', 'Dom/ChangeListener', 'Ui/Alignment'], function(Environme if (title !== '') { elData(element, 'tooltip', title); + elAttr(element, 'aria-label', title); element.removeAttribute('title'); } -- 2.20.1