From 232c47eebc201b9a2cda8fbea4427e130339680e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 13 Sep 2024 08:28:14 -0700 Subject: [PATCH] [release/9.0] [Identity][Templates] Ensure placeholders don't overlap with text (#57789) Backport of #57783 to release/9.0 /cc @javiercn # [Identity][Templates] Ensure placeholders don't overlap with text Placeholder text on input textboxes overlaps with the label texts. ## Description * As part of an accessibility fix, we started displaying placeholders on input elements. * In some circumstances, these placeholders overlap with the labels on the input text boxes, making it problematic to read them. * The fix addresses this by reducing the size of the placeholders and making inputs bigger to avoid any overlap. Fixes https://github.com/dotnet/AspNetCore-ManualTests/issues/3081 ## Customer Impact When the window size is small enough, customers could see overlapped text that's hard to read and is sometimes even impossible. ## Regression? - [X] Yes - [ ] No 8.0 since we introduced this behavior on 9.0 as part of accessibility fixes. ## Risk - [ ] High - [ ] Medium - [x] Low The attached videos serve as validation of the fix, in addition to that, the UI is completely customizable by customers. ## Verification - [X] Manual (required) - [ ] Automated **Old behavior**   **New behavior** https://github.com/user-attachments/assets/6eae3396-9794-402d-af65-e0bc89257a44 https://github.com/user-attachments/assets/0343b4fc-5f55-4e46-a276-67c4c97645e2 ## Packaging changes reviewed? - [ ] Yes - [ ] No - [X] N/A ---- ## When servicing release/2.1 - [ ] Make necessary changes in eng/PatchConfig.props --- .../UI/src/Areas/Identity/Pages/V5/Account/Login.cshtml | 4 ++-- .../Pages/V5/Account/Manage/ChangePassword.cshtml | 8 ++++---- .../Areas/Identity/Pages/V5/Account/Manage/Email.cshtml | 8 ++++---- .../Pages/V5/Account/Manage/EnableAuthenticator.cshtml | 2 +- .../Areas/Identity/Pages/V5/Account/Manage/Index.cshtml | 4 ++-- .../Identity/Pages/V5/Account/Manage/SetPassword.cshtml | 6 +++--- .../Areas/Identity/Pages/V5/Account/Manage/_Layout.cshtml | 4 ++-- .../src/Areas/Identity/Pages/V5/Account/Register.cshtml | 4 ++-- .../BlazorWeb-CSharp/Components/Account/Pages/Login.razor | 4 ++-- .../Components/Account/Pages/Manage/ChangePassword.razor | 8 ++++---- .../Components/Account/Pages/Manage/Email.razor | 8 ++++---- .../Account/Pages/Manage/EnableAuthenticator.razor | 4 ++-- .../Components/Account/Pages/Manage/Index.razor | 6 +++--- .../Components/Account/Pages/Manage/SetPassword.razor | 6 +++--- .../Components/Account/Pages/Register.razor | 4 ++-- .../Components/Account/Shared/ManageLayout.razor | 4 ++-- 16 files changed, 42 insertions(+), 42 deletions(-) diff --git a/src/Identity/UI/src/Areas/Identity/Pages/V5/Account/Login.cshtml b/src/Identity/UI/src/Areas/Identity/Pages/V5/Account/Login.cshtml index 6354164a81ace..a5179d31900b9 100644 --- a/src/Identity/UI/src/Areas/Identity/Pages/V5/Account/Login.cshtml +++ b/src/Identity/UI/src/Areas/Identity/Pages/V5/Account/Login.cshtml @@ -7,7 +7,7 @@