You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Blazor Web Template Accessibility
## Description
1. Make "Remember me" checkbox boarder darker

2. Show validation messages for Login page

3. Add role="alert" to validation summaries in Login and Register pages so that narrator could announce the errors
4. Fix `aria-label` in QuickGrid
Fixes#51127Fixes#51153Fixes#51156
## Customer Impact
1. Low vision users will be able to see the checkbox control (color contrast ratio is more than 3:1)
2. Sighted users will have clear instructions that "Email" and "Password" fields are required.
3. Screen reader users will hear the narrator announcing the validation errors in Register and Login pages.
4. Screen reader users will hear the accessible names for buttons in QuickGrid.Paginator
## Regression?
- [ ] Yes
- [x] No
[If yes, specify the version the behavior has regressed from]
## Risk
- [ ] High
- [ ] Medium
- [x] Low
[Justify the selection above]
## Verification
- [x] Manual (required)
- [ ] Automated
## Packaging changes reviewed?
- [ ] Yes
- [ ] No
- [x] N/A
----
## When servicing release/2.1
- [ ] Make necessary changes in eng/PatchConfig.props
Copy file name to clipboardExpand all lines: src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/src/Pagination/Paginator.razor
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,14 @@
15
15
}
16
16
</div>
17
17
<navrole="navigation">
18
-
<buttonclass="go-first"type="button"@onclick="GoFirstAsync"disabled="@(!CanGoBack)"title="Go to first page"aria-title="Go to first page"></button>
19
-
<buttonclass="go-previous"type="button"@onclick="GoPreviousAsync"disabled="@(!CanGoBack)"title="Go to previous page"aria-title="Go to previous page"></button>
18
+
<buttonclass="go-first"type="button"@onclick="GoFirstAsync"disabled="@(!CanGoBack)"title="Go to first page"aria-label="Go to first page"></button>
19
+
<buttonclass="go-previous"type="button"@onclick="GoPreviousAsync"disabled="@(!CanGoBack)"title="Go to previous page"aria-label="Go to previous page"></button>
20
20
<divclass="pagination-text">
21
21
Page <strong>@(State.CurrentPageIndex+1)</strong>
22
22
of <strong>@(State.LastPageIndex+1)</strong>
23
23
</div>
24
-
<buttonclass="go-next"type="button"@onclick="GoNextAsync"disabled="@(!CanGoForwards)"title="Go to next page"aria-title="Go to next page"></button>
25
-
<buttonclass="go-last"type="button"@onclick="GoLastAsync"disabled="@(!CanGoForwards)"title="Go to last page"aria-title="Go to last page"></button>
24
+
<buttonclass="go-next"type="button"@onclick="GoNextAsync"disabled="@(!CanGoForwards)"title="Go to next page"aria-label="Go to next page"></button>
25
+
<buttonclass="go-last"type="button"@onclick="GoLastAsync"disabled="@(!CanGoForwards)"title="Go to last page"aria-label="Go to last page"></button>
Copy file name to clipboardExpand all lines: src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Pages/Account/Login.razor
Copy file name to clipboardExpand all lines: src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Pages/Account/Register.razor
0 commit comments