mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
add aria-label to composer buttons
This commit is contained in:
parent
0b3ad8a3fd
commit
4f53b85ee2
@ -1403,6 +1403,10 @@
|
||||
xPosition += 25;
|
||||
button.id = id + postfix;
|
||||
button.title = title;
|
||||
// we really should just use jquery here
|
||||
if (button.setAttribute) {
|
||||
button.setAttribute('aria-label', title);
|
||||
}
|
||||
if (textOp)
|
||||
button.textOp = textOp;
|
||||
setupButton(button, true);
|
||||
|
Loading…
Reference in New Issue
Block a user