Set aria-label on main input
This commit is contained in:
parent
835236f8ac
commit
bd9e219d92
@ -402,7 +402,7 @@ $(function() {
|
|||||||
if (type === "channel" || type === "query") {
|
if (type === "channel" || type === "query") {
|
||||||
placeholder = `Write to ${chan.data("title")}`;
|
placeholder = `Write to ${chan.data("title")}`;
|
||||||
}
|
}
|
||||||
input.attr("placeholder", placeholder);
|
input.attr("placeholder", placeholder).attr("aria-label", placeholder);
|
||||||
|
|
||||||
if (self.hasClass("chan")) {
|
if (self.hasClass("chan")) {
|
||||||
$("#chat-container").addClass("active");
|
$("#chat-container").addClass("active");
|
||||||
|
Loading…
Reference in New Issue
Block a user