From a8e131fe0c648880e59c742f84b607fff97d45f2 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Wed, 10 Feb 2021 16:42:43 -0800 Subject: [PATCH] Port Identity UI accessibility fixes (#1502) --- .../Bootstrap4/Pages/Account/Account.ExternalLogin.cshtml | 2 +- .../Bootstrap4/Pages/Account/Account.ForgotPassword.cshtml | 2 +- .../Identity/Bootstrap4/Pages/Account/Account.Login.cshtml | 4 ++-- .../Identity/Bootstrap4/Pages/Account/Account.Register.cshtml | 4 ++-- .../Pages/Account/Account.ResendEmailConfirmation.cshtml | 2 +- .../Bootstrap4/Pages/Account/Account.ResetPassword.cshtml | 2 +- .../Pages/Account/Manage/Account.Manage.ChangePassword.cshtml | 2 +- .../Account/Manage/Account.Manage.DeletePersonalData.cshtml | 2 +- .../Pages/Account/Manage/Account.Manage.Disable2fa.cshtml | 2 +- .../Account/Manage/Account.Manage.DownloadPersonalData.cshtml | 2 +- .../Account/Manage/Account.Manage.EnableAuthenticator.cshtml | 2 +- .../Pages/Account/Manage/Account.Manage.ExternalLogins.cshtml | 2 +- .../Manage/Account.Manage.GenerateRecoveryCodes.cshtml | 2 +- .../Pages/Account/Manage/Account.Manage.Index.cshtml | 2 +- .../Pages/Account/Manage/Account.Manage.PersonalData.cshtml | 2 +- .../Pages/Account/Manage/Account.Manage.SetPassword.cshtml | 2 +- .../Account/Manage/Account.Manage.ShowRecoveryCodes.cshtml | 2 +- .../Manage/Account.Manage.TwoFactorAuthentication.cshtml | 4 ++-- .../Pages/Account/Manage/Account.Manage._Layout.cshtml | 4 ++-- 19 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ExternalLogin.cshtml b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ExternalLogin.cshtml index f7dc967d6..fd2ddfd9d 100644 --- a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ExternalLogin.cshtml +++ b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ExternalLogin.cshtml @@ -5,7 +5,7 @@ }

@ViewData["Title"]

-

Associate your @Model.ProviderDisplayName account.

+

Associate your @Model.ProviderDisplayName account.


diff --git a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ForgotPassword.cshtml b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ForgotPassword.cshtml index 3a72c3632..c3a49f6b8 100644 --- a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ForgotPassword.cshtml +++ b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ForgotPassword.cshtml @@ -5,7 +5,7 @@ }

@ViewData["Title"]

-

Enter your email.

+

Enter your email.


diff --git a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.Login.cshtml b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.Login.cshtml index 93a51d241..14f1adb2e 100644 --- a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.Login.cshtml +++ b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.Login.cshtml @@ -10,7 +10,7 @@
-

Use a local account to log in.

+

Use a local account to log in.


@@ -50,7 +50,7 @@
-

Use another service to log in.

+

Use another service to log in.


@{ if ((Model.ExternalLogins?.Count ?? 0) == 0) diff --git a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.Register.cshtml b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.Register.cshtml index aada3dc27..49dffa25b 100644 --- a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.Register.cshtml +++ b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.Register.cshtml @@ -9,7 +9,7 @@
-

Create a new account.

+

Create a new account.


@@ -32,7 +32,7 @@
-

Use another service to register.

+

Use another service to register.


@{ if ((Model.ExternalLogins?.Count ?? 0) == 0) diff --git a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ResendEmailConfirmation.cshtml b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ResendEmailConfirmation.cshtml index 7e7427a10..3b2459ced 100644 --- a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ResendEmailConfirmation.cshtml +++ b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ResendEmailConfirmation.cshtml @@ -5,7 +5,7 @@ }

@ViewData["Title"]

-

Enter your email.

+

Enter your email.


diff --git a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ResetPassword.cshtml b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ResetPassword.cshtml index 44daadd77..a19cceb1d 100644 --- a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ResetPassword.cshtml +++ b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Account.ResetPassword.cshtml @@ -5,7 +5,7 @@ }

@ViewData["Title"]

-

Reset your password.

+

Reset your password.


diff --git a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Manage/Account.Manage.ChangePassword.cshtml b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Manage/Account.Manage.ChangePassword.cshtml index 45e5d7f16..0033d0502 100644 --- a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Manage/Account.Manage.ChangePassword.cshtml +++ b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Manage/Account.Manage.ChangePassword.cshtml @@ -5,7 +5,7 @@ ViewData["ActivePage"] = ManageNavPages.ChangePassword; } -

@ViewData["Title"]

+

@ViewData["Title"]

diff --git a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Manage/Account.Manage.DeletePersonalData.cshtml b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Manage/Account.Manage.DeletePersonalData.cshtml index bcbf20ab9..173ffc422 100644 --- a/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Manage/Account.Manage.DeletePersonalData.cshtml +++ b/src/VS.Web.CG.Mvc/Templates/Identity/Bootstrap4/Pages/Account/Manage/Account.Manage.DeletePersonalData.cshtml @@ -5,7 +5,7 @@ ViewData["ActivePage"] = ManageNavPages.PersonalData; } -

@ViewData["Title"]

+

@ViewData["Title"]