Open
Conversation
- Add Accessibility tab to DevFlow Inspector with native screen reader tree view - Add IDevFlowConnectionProvider interface and DevFlowConnectionProvider service - Extend DevFlowInspectorTab enum with Profiling and Accessibility tabs - Add ValidTabs set to DevFlowInspector for tab routing validation - Register IDevFlowConnectionProvider in both MauiProgram and MacOSMauiProgram - Add AccessibilityAuditService for a11y audit logic - Add DevFlowAccessibilityTab.razor component - Extend DevFlowAgentClient with native a11y tree endpoint support - Extend DevFlowModels with NativeScreenReaderEntry and related types Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…er mock CopilotToolsService constructor was extended with a required IDevFlowConnectionProvider parameter in this PR, but the test was not updated, causing CS7036 build failure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
This pull request introduces major enhancements to the DevFlow App Inspector, focusing on accessibility tooling and integration. It adds new accessibility models, exposes DevFlow agent connection info via DI, implements new Copilot tools for accessibility audits and screenshots, and updates the UI to surface accessibility features. The changes are grouped below by theme.
Accessibility Models and API Integration:
DevFlowAccessibilityTree,DevFlowNativeA11yTree,AccessibilityIssue,ContrastCheckResult, and others) toDevFlowModels.csto represent accessibility trees, audit results, and screen reader order, enabling structured accessibility analysis and reporting.DevFlowAgentClientwith new methods for fetching accessibility data (GetAccessibilityTreeAsync,GetNativeA11yTreeAsync), and highlighting UI elements on the device, supporting advanced accessibility inspection scenarios.Dependency Injection & Service Integration:
IDevFlowConnectionProviderinterface (and its implementation) to provide access to the currently connected DevFlow agent's host, port, and app name, and registered it for dependency injection in bothMauiProgram.csandMacOSMauiProgram.cs. [1] [2] [3] [4]CopilotToolsServiceto depend onIDevFlowConnectionProvider, allowing Copilot tools to query the current DevFlow connection state. [1] [2] [3]Copilot Tools:
get_connected_app_info,get_app_screenshot, andaudit_app_accessibility, enabling Copilot to retrieve app connection info, capture screenshots, and perform full accessibility audits on the connected MAUI app. The audit tool returns a structured summary of WCAG rule violations, screen reader order, and contrast results. [1] [2]UI Enhancements:
Model Improvements:
DevFlowElementInfoto include effective text/background color and accessibility info, supporting richer UI and accessibility analysis.Nagranie.z.ekranu.2026-03-14.o.13.36.57.mov