forked from dotnet/aspnetcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Blazor] Fix Identity UI accessibility issues (dotnet#57033)
- Loading branch information
1 parent
27f2a01
commit d3e244c
Showing
19 changed files
with
52 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,8 @@ | |
<ValidationSummary class="text-danger" role="alert" /> | ||
|
||
<div class="form-floating mb-3"> | ||
<InputText @bind-Value="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="[email protected]" /> | ||
<label for="email" class="form-label">Email</label> | ||
<InputText @bind-Value="Input.Email" id="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="[email protected]" /> | ||
<label for="Input.Email" class="form-label">Email</label> | ||
<ValidationMessage For="() => Input.Email" class="text-danger" /> | ||
</div> | ||
<button type="submit" class="w-100 btn btn-lg btn-primary">Reset password</button> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,13 +23,13 @@ | |
<hr /> | ||
<ValidationSummary class="text-danger" role="alert" /> | ||
<div class="form-floating mb-3"> | ||
<InputText @bind-Value="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="[email protected]" /> | ||
<label for="email" class="form-label">Email</label> | ||
<InputText @bind-Value="Input.Email" id="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="[email protected]" /> | ||
<label for="Input.Email" class="form-label">Email</label> | ||
<ValidationMessage For="() => Input.Email" class="text-danger" /> | ||
</div> | ||
<div class="form-floating mb-3"> | ||
<InputText type="password" @bind-Value="Input.Password" class="form-control" autocomplete="current-password" aria-required="true" placeholder="password" /> | ||
<label for="password" class="form-label">Password</label> | ||
<InputText type="password" @bind-Value="Input.Password" id="Input.Password" class="form-control" autocomplete="current-password" aria-required="true" placeholder="password" /> | ||
<label for="Input.Password" class="form-label">Password</label> | ||
<ValidationMessage For="() => Input.Password" class="text-danger" /> | ||
</div> | ||
<div class="checkbox mb-3"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,18 +28,18 @@ | |
<hr /> | ||
<ValidationSummary class="text-danger" role="alert" /> | ||
<div class="form-floating mb-3"> | ||
<InputText @bind-Value="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="[email protected]" /> | ||
<label for="email">Email</label> | ||
<InputText @bind-Value="Input.Email" id="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="[email protected]" /> | ||
<label for="Input.Email">Email</label> | ||
<ValidationMessage For="() => Input.Email" class="text-danger" /> | ||
</div> | ||
<div class="form-floating mb-3"> | ||
<InputText type="password" @bind-Value="Input.Password" class="form-control" autocomplete="new-password" aria-required="true" placeholder="password" /> | ||
<label for="password">Password</label> | ||
<InputText type="password" @bind-Value="Input.Password" id="Input.Password" class="form-control" autocomplete="new-password" aria-required="true" placeholder="password" /> | ||
<label for="Input.Password">Password</label> | ||
<ValidationMessage For="() => Input.Password" class="text-danger" /> | ||
</div> | ||
<div class="form-floating mb-3"> | ||
<InputText type="password" @bind-Value="Input.ConfirmPassword" class="form-control" autocomplete="new-password" aria-required="true" placeholder="password" /> | ||
<label for="confirm-password">Confirm Password</label> | ||
<InputText type="password" @bind-Value="Input.ConfirmPassword" id="Input.ConfirmPassword" class="form-control" autocomplete="new-password" aria-required="true" placeholder="password" /> | ||
<label for="Input.ConfirmPassword">Confirm Password</label> | ||
<ValidationMessage For="() => Input.ConfirmPassword" class="text-danger" /> | ||
</div> | ||
<button type="submit" class="w-100 btn btn-lg btn-primary">Register</button> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,8 @@ | |
<DataAnnotationsValidator /> | ||
<ValidationSummary class="text-danger" role="alert" /> | ||
<div class="form-floating mb-3"> | ||
<InputText @bind-Value="Input.Email" class="form-control" aria-required="true" placeholder="[email protected]" /> | ||
<label for="email" class="form-label">Email</label> | ||
<InputText @bind-Value="Input.Email" id="Input.Email" class="form-control" aria-required="true" placeholder="[email protected]" /> | ||
<label for="Input.Email" class="form-label">Email</label> | ||
<ValidationMessage For="() => Input.Email" class="text-danger" /> | ||
</div> | ||
<button type="submit" class="w-100 btn btn-lg btn-primary">Resend</button> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,18 +23,18 @@ | |
|
||
<input type="hidden" name="Input.Code" value="@Input.Code" /> | ||
<div class="form-floating mb-3"> | ||
<InputText @bind-Value="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="[email protected]" /> | ||
<label for="email" class="form-label">Email</label> | ||
<InputText @bind-Value="Input.Email" id="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="[email protected]" /> | ||
<label for="Input.Email" class="form-label">Email</label> | ||
<ValidationMessage For="() => Input.Email" class="text-danger" /> | ||
</div> | ||
<div class="form-floating mb-3"> | ||
<InputText type="password" @bind-Value="Input.Password" class="form-control" autocomplete="new-password" aria-required="true" placeholder="Please enter your password." /> | ||
<label for="password" class="form-label">Password</label> | ||
<InputText type="password" @bind-Value="Input.Password" id="Input.Password" class="form-control" autocomplete="new-password" aria-required="true" placeholder="Please enter your password." /> | ||
<label for="Input.Password" class="form-label">Password</label> | ||
<ValidationMessage For="() => Input.Password" class="text-danger" /> | ||
</div> | ||
<div class="form-floating mb-3"> | ||
<InputText type="password" @bind-Value="Input.ConfirmPassword" class="form-control" autocomplete="new-password" aria-required="true" placeholder="Please confirm your password." /> | ||
<label for="confirm-password" class="form-label">Confirm password</label> | ||
<InputText type="password" @bind-Value="Input.ConfirmPassword" id="Input.ConfirmPassword" class="form-control" autocomplete="new-password" aria-required="true" placeholder="Please confirm your password." /> | ||
<label for="Input.ConfirmPassword" class="form-label">Confirm password</label> | ||
<ValidationMessage For="() => Input.ConfirmPassword" class="text-danger" /> | ||
</div> | ||
<button type="submit" class="w-100 btn btn-lg btn-primary">Reset</button> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters