Merge pull request #1906 from thelounge/xpaw/aria-label-input
Set aria-label on main input
This commit is contained in:
commit
322987a204
@ -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