accesibility

This commit is contained in:
Zdenek Borovec 2024-05-05 20:34:28 +02:00
parent 081b26af60
commit ca7ee9fba2
2 changed files with 5 additions and 5 deletions

View file

@ -111,7 +111,7 @@ if (isset($_POST["submit"])) {
echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>"> echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>">
<h2> Login: </h2> <h2> Login: </h2>
<table class="noborder-table"><tr> <table class="noborder-table"><tr>
<td> Username: </td> <td><label for="username">Username:</label></td>
<td> <td>
<input type="text" name="username" tabindex="1" <input type="text" name="username" tabindex="1"
autofocus="autofocus" value="<?php echo $usernameOld;?>"> autofocus="autofocus" value="<?php echo $usernameOld;?>">
@ -120,7 +120,7 @@ if (isset($_POST["submit"])) {
<?php echo $usernameErr; ?> <?php echo $usernameErr; ?>
</td> </td>
</tr><tr> </tr><tr>
<td> Password: </td> <td><label for="password">Password:</label></td>
<td> <td>
<input type="password" name="password" tabindex="2" <input type="password" name="password" tabindex="2"
value="<?php echo $passwordOld?>"> value="<?php echo $passwordOld?>">

View file

@ -109,7 +109,7 @@ if (isset($_POST["submit"])) {
echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>"> echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>">
<h2> Register: </h2> <h2> Register: </h2>
<table class="noborder-table"><tr> <table class="noborder-table"><tr>
<td> Username: </td> <td><label for="usermame">Username:</label></td>
<td> <td>
<input type="text" name="username" tabindex="1" <input type="text" name="username" tabindex="1"
autofocus="autofocus" value="<?php echo $usernameOld;?>"> autofocus="autofocus" value="<?php echo $usernameOld;?>">
@ -118,7 +118,7 @@ if (isset($_POST["submit"])) {
<?php echo $usernameErr; ?> <?php echo $usernameErr; ?>
</td> </td>
</tr><tr> </tr><tr>
<td> Password: </td> <td><label for="password">Password:</label></td>
<td> <td>
<input type="password" name="password" tabindex="2" <input type="password" name="password" tabindex="2"
value="<?php echo $passwordOld?>"> value="<?php echo $passwordOld?>">
@ -126,7 +126,7 @@ if (isset($_POST["submit"])) {
<?php echo $passwordErr; ?> <?php echo $passwordErr; ?>
</td> </td>
</tr><tr> </tr><tr>
<td> Password confirmation: </td> <td><label for="password_conf">Password confirmation:</label></td>
<td> <td>
<input type="password" name="password_conf" tabindex="3" <input type="password" name="password_conf" tabindex="3"
value="<?php echo $passwordConfOld?>"> value="<?php echo $passwordConfOld?>">