Conversation
Long lists/grids/trees only materialize visible rows, so an off-screen row has no accessibility element at all - list/read_table/select can't see it and scroll_control_into_view can't help because it doesn't exist yet. realize_item locates the item by property (ItemContainerPattern) and realizes it (VirtualizedItemPattern) so it becomes a real element. Extends the backend ABC + Windows UIA backend via the same fake-backend seam as control_patterns.
…batch Add virtualized: realize off-screen items in virtualized lists/grids
The flat element list carries only name/role/bounds/app/id, but automation needs more before it acts: is the control enabled (don't click a disabled button), is it off-screen, its item_status, help_text (tooltip), accelerator_key. get_element_properties reads those UIA properties; is_element_enabled is the common pre-action guard. Extends the backend ABC + Windows UIA backend via the same fake-backend seam.
Add ax_props: read rich UIA element properties before acting
read_control_table dumps a flat 2D list of cell names with no header labels and no way to address one cell by (header, row). Add the missing half: table_headers reads row/column header labels (TablePattern), table_cell reads the cell at (row, column) with its span (GridItemPattern), and cell_by_header resolves the column index from the headers so you can read the cell at (row, named column). Extends the backend ABC + Windows UIA backend via the same fake-backend seam.
…n-batch Add table_pattern: table headers + cell addressing for native grids
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 104 |
| Duplication | 2 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
|
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.



Release: native-UIA depth, part 1 (v195–v197)
First batch of the ROUND-15 native Windows UI (UIA) depth lane — three features that extend the accessibility backend, each merged to
devCI-green (Codacy 0 / SonarCloud OK / all matrices + Docker).virtualized(v195, Add virtualized: realize off-screen items in virtualized lists/grids #415) —realize_item: materialize off-screen rows in virtualized lists / grids / trees (ItemContainer + VirtualizedItem patterns) so a row that isn't scrolled into view becomes a real, clickable element — the "element not found in a long list" fix.ax_props(v196, Add ax_props: read rich UIA element properties before acting #416) —get_element_properties/is_element_enabled: read the rich UIA properties the flat list omits (enabled / offscreen / help_text / item_status / accelerator_key / …) before acting.table_pattern(v197, Add table_pattern: table headers + cell addressing for native grids #417) —table_headers/table_cell/cell_by_header: header labels + cell addressing for native grids, so you can assert "the Status column of row 5 says Shipped" without guessing indices.All extend the accessibility backend ABC + Windows UIA backend through the same injectable fake-backend seam (headless-testable; real UIA gated to Windows). EN/Zh docs (v195–v197) + WHATS_NEW entries included.