Skip to content

Preserve validation summary list semantics in reauthentication - #70401

Merged
ilonatommy merged 1 commit into
dotnet:mainfrom
dariatiurina:dariatiurina-validation-summary-wrappers
Nov 9, 2026
Merged

ilonatommy merged 1 commit into
dotnet:mainfrom
dariatiurina:dariatiurina-validation-summary-wrappers

Conversation

@dariatiurina

@dariatiurina dariatiurina commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Preserve validation summary list semantics in reauthentication

Move role="alert" from the reauthentication validation summary to a persistent <div role="alert" aria-atomic="true"> wrapper, matching the other Blazor account templates and the guidance in dotnet/AspNetCore.Docs#38105.

The remaining fixes of same nature were already added by #68913.

Fixes https://github.com/dotnet/aspnetcore-scenario-tests/issues/161, https://github.com/dotnet/aspnetcore-scenario-tests/issues/160.

@dariatiurina
dariatiurina marked this pull request as ready for review November 9, 2026 09:42
@dariatiurina
dariatiurina requested a review from a team as a code owner November 9, 2026 09:42
Copilot AI balanced review requested due to automatic review settings November 9, 2026 09:42
@dariatiurina dariatiurina self-assigned this Nov 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are blocking the validation-summary accessibility change.

No open issues 🎉

What changed in this PR

Preserves validation summary list semantics in the Blazor reauthentication template while retaining alert announcements for validation errors.

Changes:

  • Moves role="alert" from ValidationSummary to a persistent wrapper.
  • Adds aria-atomic="true" to the wrapper, matching the other Blazor account templates.
File Description
src/​ProjectTemplates/​Web.ProjectTemplates/​content/​BlazorWeb-CSharp/​BlazorWebCSharp.1/​Components/​Account/​Shared/​ReauthenticationPrompt.razor Wraps the validation summary in an atomic alert region, preserving its list semantics.

Review effort: Balanced

@ilonatommy ilonatommy added area-identity Includes: Identity and providers feature-accessibility This issue has accessibility impact labels Nov 9, 2026
@github-actions github-actions Bot added the area-commandlinetools Includes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI label Nov 9, 2026
@ilonatommy
ilonatommy enabled auto-merge (squash) November 9, 2026 09:48
@ilonatommy
ilonatommy merged commit 83cee11 into dotnet:main Nov 9, 2026
42 of 44 checks passed
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

✅ No documentation PR was created.

Confidence that documentation is needed: 20%

No docs needed: minor accessibility markup fix in a project template that aligns with existing documented guidance.

Documentation surfaces considered

  • Conceptual article: Not required — Template markup change moves role="alert" to a wrapper div to match other account templates and existing guidance; no documented behavior or API changes, and no docs reference ReauthenticationPrompt.
  • Migration guidance: Not required — No user action needed when upgrading; only generated template markup changed.
  • Breaking change: Not required — No API, default, or behavior removal; no compatibility impact.

@ilonatommy

Copy link
Copy Markdown
Member

/backport to release/11.0

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Started backporting to release/11.0 (link to workflow run)

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

@ilonatommy backporting to release/11.0 failed, the patch most likely resulted in conflicts. Please backport manually!

git am output
$ git cherry-pick 83cee1152adbfe82b677ff88ae18a36239b3828c

CONFLICT (modify/delete): src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Components/Account/Shared/ReauthenticationPrompt.razor deleted in HEAD and modified in 83cee1152a (Preserve validation summary list semantics in reauthentication (#70401)).  Version 83cee1152a (Preserve validation summary list semantics in reauthentication (#70401)) of src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Components/Account/Shared/ReauthenticationPrompt.razor left in tree.
error: could not apply 83cee1152a... Preserve validation summary list semantics in reauthentication (#70401)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config set advice.mergeConflict false"


$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Preserve validation summary list semantics in reauthentication
Using index info to reconstruct a base tree...
A	src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Components/Account/Shared/ReauthenticationPrompt.razor
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Components/Account/Shared/ReauthenticationPrompt.razor deleted in HEAD and modified in Preserve validation summary list semantics in reauthentication.  Version Preserve validation summary list semantics in reauthentication of src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Components/Account/Shared/ReauthenticationPrompt.razor left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Preserve validation summary list semantics in reauthentication
Error: The process '/usr/bin/git' failed with exit code 128

Link to workflow output

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 6b908137 Deployed Nov 9, 2026 by ilonatommy via conclusion #248
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-commandlinetools Includes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI area-identity Includes: Identity and providers feature-accessibility This issue has accessibility impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants