Repository navigation
chore: Enhance desktop a11y features and logging - #23184
Conversation
There was a problem hiding this comment.
Pull request overview
This PR expands Skia accessibility support across WebAssembly, macOS, and Win32, while also tightening some accessibility-related logging behavior. The changes mainly aim to expose more automation metadata and keep semantic positions in sync during scrolling.
Changes:
- Added new ARIA/UIA metadata support, including dialog semantics, keyboard shortcuts, and extra Win32 UIA pattern wrappers.
- Hooked scroll sources so descendant accessibility bounds can be refreshed while scrolling on WASM and macOS.
- Reduced verbosity of some accessibility diagnostics by downgrading browser/native debug logging.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
src/Uno.UI/UI/Xaml/Controls/ProgressBar/ProgressBarAutomationPeer.cs |
Makes ProgressBar range provider reject SetValue. |
src/Uno.UI/Accessibility/AriaMapper.cs |
Adds ARIA mapping for dialog state, key shortcuts, and modal flag. |
src/Uno.UI.Runtime.Skia/Accessibility/SkiaAccessibilityBase.cs |
Introduces shared scroll-source subscription and descendant position re-emission logic. |
src/Uno.UI.Runtime.Skia.Win32/Accessibility/Win32RawElementProvider.cs |
Exposes additional Win32 UIA pattern providers. |
src/Uno.UI.Runtime.Skia.Win32/Accessibility/Win32AccessibilityPatterns.cs |
Defines COM interfaces/wrappers for new Win32 UIA patterns. |
src/Uno.UI.Runtime.Skia.WebAssembly.Browser/ts/Runtime/Accessibility.ts |
Adds DOM updaters for aria-keyshortcuts and aria-modal, and lowers log level. |
src/Uno.UI.Runtime.Skia.WebAssembly.Browser/Accessibility/WebAssemblyAccessibility.cs |
Wires scroll subscriptions into the WASM accessibility tree and applies extra generic ARIA attributes. |
src/Uno.UI.Runtime.Skia.WebAssembly.Browser/Accessibility/SemanticElementFactory.cs |
Applies new ARIA attributes during semantic element creation. |
src/Uno.UI.Runtime.Skia.MacOS/UnoNativeMac/UnoNativeMac/UNOAccessibility.m |
Gates native macOS accessibility logging behind an env var in debug builds. |
src/Uno.UI.Runtime.Skia.MacOS/Accessibility/MacOSAccessibility.cs |
Wires scroll subscriptions into the macOS accessibility tree build/update flow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23184/wasm-skia-net9/index.html |
|
|
XAML Styler drift detected on
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23184/wasm-skia-net9/index.html |
|
|
… level for unresolvable accessibility roles
XAML Styler drift detected on
|
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 13 out of 13 changed files in this pull request and generated 7 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23184/wasm-skia-net9/index.html |
|
/apply-xaml-style |
|
Pushed GitHub does not re-trigger workflows for commits pushed by the default bot, so the XAML Style Check will not automatically re-run. To turn it green, push any additional commit (for example |
|
/azp run |
|
|
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23184/wasm-skia-net9/index.html |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23184/wasm-skia-net9/index.html |
GitHub Issue: closes #
PR Type:
What changed? 🚀
PR Checklist ✅
Screenshots Compare Test Runresults.