mirror of
https://github.com/thelounge/thelounge
synced 2024-11-14 16:27:22 +00:00
Merge pull request #1906 from thelounge/xpaw/aria-label-input
Set aria-label on main input
This commit is contained in:
commit
322987a204
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ $(function() {
|
|||
if (type === "channel" || type === "query") {
|
||||
placeholder = `Write to ${chan.data("title")}`;
|
||||
}
|
||||
input.attr("placeholder", placeholder);
|
||||
input.attr("placeholder", placeholder).attr("aria-label", placeholder);
|
||||
|
||||
if (self.hasClass("chan")) {
|
||||
$("#chat-container").addClass("active");
|
||||
|
|
Loading…
Reference in a new issue