Skip to content

Commit 712ca4c

Browse files
authored
Fix h1-4 in identity ui for accessibility (#29706)
1 parent 163f981 commit 712ca4c

22 files changed

+26
-26
lines changed

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/ConfirmEmailChange.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
ViewData["Title"] = "Confirm email change";
55
}
66

7-
<h2>@ViewData["Title"]</h2>
7+
<h1>@ViewData["Title"]</h1>
88
<partial name="_StatusMessage" model="Model.StatusMessage" />

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/ExternalLogin.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}
66

77
<h1>@ViewData["Title"]</h1>
8-
<h4 id="external-login-title">Associate your @Model.ProviderDisplayName account.</h4>
8+
<h2 id="external-login-title">Associate your @Model.ProviderDisplayName account.</h2>
99
<hr />
1010

1111
<p id="external-login-description" class="text-info">

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/ForgotPassword.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}
66

77
<h1>@ViewData["Title"]</h1>
8-
<h4>Enter your email.</h4>
8+
<h2>Enter your email.</h2>
99
<hr />
1010
<div class="row">
1111
<div class="col-md-4">

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Login.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="col-md-4">
1111
<section>
1212
<form id="account" method="post">
13-
<h4>Use a local account to log in.</h4>
13+
<h2>Use a local account to log in.</h2>
1414
<hr />
1515
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
1616
<div class="form-group">
@@ -50,7 +50,7 @@
5050
</div>
5151
<div class="col-md-6 col-md-offset-2">
5252
<section>
53-
<h4>Use another service to log in.</h4>
53+
<h3>Use another service to log in.</h3>
5454
<hr />
5555
@{
5656
if ((Model.ExternalLogins?.Count ?? 0) == 0)

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Manage/ChangePassword.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
ViewData["ActivePage"] = ManageNavPages.ChangePassword;
66
}
77

8-
<h4>@ViewData["Title"]</h4>
8+
<h3>@ViewData["Title"]</h3>
99
<partial name="_StatusMessage" for="StatusMessage" />
1010
<div class="row">
1111
<div class="col-md-6">

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Manage/DeletePersonalData.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
ViewData["ActivePage"] = ManageNavPages.PersonalData;
66
}
77

8-
<h4>@ViewData["Title"]</h4>
8+
<h3>@ViewData["Title"]</h3>
99

1010
<div class="alert alert-warning" role="alert">
1111
<p>

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Manage/Disable2fa.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77

88
<partial name="_StatusMessage" for="StatusMessage" />
9-
<h1>@ViewData["Title"]</h1>
9+
<h3>@ViewData["Title"]</h3>
1010

1111
<div class="alert alert-warning" role="alert">
1212
<p>

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Manage/DownloadPersonalData.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
ViewData["ActivePage"] = ManageNavPages.PersonalData;
66
}
77

8-
<h4>@ViewData["Title"]</h4>
8+
<h3>@ViewData["Title"]</h3>
99

1010
@section Scripts {
1111
<partial name="_ValidationScriptsPartial" />

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Manage/Email.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
ViewData["ActivePage"] = ManageNavPages.Email;
66
}
77

8-
<h4>@ViewData["Title"]</h4>
8+
<h3>@ViewData["Title"]</h3>
99
<partial name="_StatusMessage" for="StatusMessage" />
1010
<div class="row">
1111
<div class="col-md-6">

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Manage/EnableAuthenticator.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77

88
<partial name="_StatusMessage" for="StatusMessage" />
9-
<h4>@ViewData["Title"]</h4>
9+
<h3>@ViewData["Title"]</h3>
1010
<div>
1111
<p>To use an authenticator app go through the following steps:</p>
1212
<ol class="list">

0 commit comments

Comments
 (0)