Repository navigation
Expose QuickGrid column-options expanded state - #70020
Merged
ilonatommy merged 2 commits intoOct 30, 2026
Merged
Conversation
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The promised conditional aria-controls relationship is missing from both button variants and is not covered by the regression test.
1 open issue
What changed in this PR
This PR adds expanded-state accessibility metadata to QuickGrid’s default column-options buttons, using the grid’s existing open-column state.
Changes:
- Adds
aria-expandedto both button alignment variants. - Introduces an internal visibility helper and documents the expanded-state behavior.
- Adds Selenium coverage for expanded state before opening, while open, and after closing.
| File | Description |
|---|---|
| src/Components/test/E2ETest/Tests/QuickGridTest.cs | Tests expanded-state transitions. |
| src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/src/QuickGrid.razor.cs | Exposes existing options visibility through an internal helper. |
| src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/src/Columns/ColumnBase.razor.cs | Documents the default button’s expanded-state metadata. |
| src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/src/Columns/ColumnBase.razor | Adds aria-expanded to both default button variants. |
Review effort: Balanced
Member
|
/review |
Member
|
Copilot's local review panel found no issues to raise at this commit. |
ilonatommy
approved these changes
Oct 30, 2026
ilonatommy
temporarily deployed
to
copilot-pat-pool
October 30, 2026 08:47 — with
GitHub Actions
Inactive
Member
|
/backport to release/11.0 |
ilonatommy
temporarily deployed
to
copilot-pat-pool
October 30, 2026 08:47 — with
GitHub Actions
Inactive
Contributor
|
Started backporting to |
5 of 10 tasks
ilonatommy
temporarily deployed
to
copilot-pat-pool
October 30, 2026 08:48 — with
GitHub Actions
Inactive
ilonatommy
temporarily deployed
to
copilot-pat-pool
October 30, 2026 08:49 — with
GitHub Actions
Inactive
ilonatommy
temporarily deployed
to
copilot-pat-pool
October 30, 2026 08:50 — with
GitHub Actions
Inactive
ilonatommy
temporarily deployed
to
copilot-pat-pool
October 30, 2026 08:52 — with
GitHub Actions
Inactive
Contributor
|
✅ No documentation PR was created. Confidence that documentation is needed: 10% No docs needed (confident): a small accessibility markup improvement with an E2E test and no documented behavior change. Documentation surfaces considered
|
ilonatommy
temporarily deployed
to
copilot-pat-pool
October 30, 2026 08:52 — with
GitHub Actions
Inactive
wtgodbe
pushed a commit
that referenced
this pull request
Nov 6, 2026
* Expose QuickGrid column-options state and relationships * Limit QuickGrid column-options semantics to expanded state --------- Co-authored-by: Daria Tiurina <[email protected]> Co-authored-by: Copilot App <[email protected]>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Expose QuickGrid column-options expanded state
Expose expanded state on QuickGrid's default column-options buttons.
Description
QuickGrid's default column-options buttons open content without communicating whether it is expanded. Both alignment branches now derive
aria-expandedfrom the grid's existing open-column state, exposingfalsewhile closed andtruewhile that column's options are open.This change intentionally adds expanded state only. It does not add the optional
aria-controlsrelationship or generated popup IDs, and does not imposearia-haspopupor menu/dialog roles on arbitraryColumnOptionscontent. Opening, dismissal, focus behavior, content lifetime, and custom header templates are unchanged.Adds one focused Selenium regression test,
ColumnOptionsButtonExposesExpandedState, using the unchanged existing test component. The exact test fails withoutaria-expanded(expected initial"false", actual missing) and passes with the fix. The final case and the three existing column-options tests passed with:Also exercised expanded-state transitions in the canonical InteractiveServer sample with Chromium. Screen-reader behavior was not tested.
Fixes dotnet/aspnetcore-scenario-tests#158