29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-20 19:15:27 +00:00

Fix field Color (Simple) rendering (#42323)

This commit is contained in:
Fedir Zinchuk 2023-11-10 12:16:41 +02:00 committed by GitHub
parent ce929f3c69
commit 8cfb7f8b71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,7 +246,7 @@
const close = document.createElement('button');
close.setAttribute('class', 'btn-close');
close.setAttribute('type', 'button');
close.innerHTML = Joomla.sanitizeHtml(this.textClose);
close.setAttribute('aria-label', this.textClose);
this.buttons.push(close);