mirror of
https://github.com/airsonic/airsonic.git
synced 2025-10-03 09:49:17 +02:00
Add the required keyword to some forms
This should improve a bit the accessibility.
This commit is contained in:
parent
6d294a770b
commit
ce7671bf5e
2 changed files with 3 additions and 3 deletions
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
<div class="loginmessagetop"><sub:wiki text="${model.loginMessage}"/></div>
|
<div class="loginmessagetop"><sub:wiki text="${model.loginMessage}"/></div>
|
||||||
|
|
||||||
<input type="text" autofocus id="j_username" name="j_username" tabindex="1" placeholder="<fmt:message key="login.username"/>">
|
<input required type="text" autofocus id="j_username" name="j_username" tabindex="1" placeholder="<fmt:message key="login.username"/>">
|
||||||
|
|
||||||
<input type="password" autocomplete="off" name="j_password" tabindex="2" placeholder="<fmt:message key="login.password"/>">
|
<input required type="password" autocomplete="off" name="j_password" tabindex="2" placeholder="<fmt:message key="login.password"/>">
|
||||||
|
|
||||||
<input name="submit" type="submit" value="<fmt:message key="login.login"/>" tabindex="4"></td>
|
<input name="submit" type="submit" value="<fmt:message key="login.login"/>" tabindex="4"></td>
|
||||||
|
|
||||||
|
|
|
@ -125,7 +125,7 @@
|
||||||
|
|
||||||
<td style="padding-left:1em">
|
<td style="padding-left:1em">
|
||||||
<form method="post" action="search.view" target="main" name="searchForm">
|
<form method="post" action="search.view" target="main" name="searchForm">
|
||||||
<td><input type="text" name="query" id="query" size="28" placeholder="${search}" onclick="select();"
|
<td><input required type="text" name="query" id="query" size="28" placeholder="${search}" onclick="select();"
|
||||||
onkeyup="triggerInstantSearch();"></td>
|
onkeyup="triggerInstantSearch();"></td>
|
||||||
<td><a href="javascript:document.searchForm.submit()"><img src="<spring:theme code="searchImage"/>" alt="${search}" title="${search}"></a></td>
|
<td><a href="javascript:document.searchForm.submit()"><img src="<spring:theme code="searchImage"/>" alt="${search}" title="${search}"></a></td>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue