add aria-label to composer buttons
This commit is contained in:
parent
0b3ad8a3fd
commit
4f53b85ee2
|
@ -1403,6 +1403,10 @@
|
||||||
xPosition += 25;
|
xPosition += 25;
|
||||||
button.id = id + postfix;
|
button.id = id + postfix;
|
||||||
button.title = title;
|
button.title = title;
|
||||||
|
// we really should just use jquery here
|
||||||
|
if (button.setAttribute) {
|
||||||
|
button.setAttribute('aria-label', title);
|
||||||
|
}
|
||||||
if (textOp)
|
if (textOp)
|
||||||
button.textOp = textOp;
|
button.textOp = textOp;
|
||||||
setupButton(button, true);
|
setupButton(button, true);
|
||||||
|
|
Loading…
Reference in New Issue