Skip to content

chore: Enhance desktop a11y features and logging - #23184

Merged
morning4coffe-dev merged 5 commits into
masterfrom
dev/doti/a11y-desktop-improvements
May 7, 2026
Merged

morning4coffe-dev merged 5 commits into
masterfrom
dev/doti/a11y-desktop-improvements

Conversation

@morning4coffe-dev

Copy link
Copy Markdown
Member

GitHub Issue: closes #

PR Type:

What changed? 🚀

PR Checklist ✅

Copilot AI review requested due to automatic review settings May 3, 2026 08:12
@github-actions github-actions Bot added platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform labels May 3, 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.

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.

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 210481 has failed on Uno.UI - CI.

@github-actions github-actions Bot added the area/automation Categorizes an issue or PR as relevant to project automation label May 4, 2026
@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown
Contributor

XAML Styler drift detected on 256735e

XAML files under src/SamplesApp/ are not formatted according to src/SamplesApp/Settings.XamlStyler.

To apply automatically (PRs from branches in this repo only): comment /apply-xaml-style on this PR and a bot will push chore: Apply XAML styler to the head branch.

To apply manually (required for PRs from forks):

  1. Download the xaml-style-patch artifact from this run.
  2. In your local checkout of the PR branch:
    git apply xaml-style.patch
    git add -A
    git commit -m "chore: Apply XAML styler"
    git push
    

Or re-run the formatter locally: dotnet tool restore && dotnet xstyler -d src/SamplesApp -r.

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 210751 has failed on Uno.UI - CI.

Copilot AI review requested due to automatic review settings May 5, 2026 22:00
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

XAML Styler drift detected on bb759ad

XAML files under src/SamplesApp/ are not formatted according to src/SamplesApp/Settings.XamlStyler.

To apply automatically (PRs from branches in this repo only): comment /apply-xaml-style on this PR and a bot will push chore: Apply XAML styler to the head branch.

To apply manually (required for PRs from forks):

  1. Download the xaml-style-patch artifact from this run.
  2. In your local checkout of the PR branch:
    git apply xaml-style.patch
    git add -A
    git commit -m "chore: Apply XAML styler"
    git push
    

Or re-run the formatter locally: dotnet tool restore && dotnet xstyler -d src/SamplesApp -r.

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.

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.

Comment thread src/Uno.UI/Accessibility/AriaMapper.cs Resolved
Comment thread src/Uno.UI/Accessibility/AriaMapper.cs Resolved
@unodevops

Copy link
Copy Markdown
Contributor

@MartinZikmund

Copy link
Copy Markdown
Member

/apply-xaml-style

@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

Pushed chore: Apply XAML styler to this PR branch.

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 git commit --allow-empty -m "ci: re-run") or ask a maintainer to re-run the check.

@MartinZikmund

Copy link
Copy Markdown
Member

/azp run

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ morning4coffe-dev
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@unodevops

Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings May 6, 2026 20:09

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.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 5 comments.

@unodevops

Copy link
Copy Markdown
Contributor

@morning4coffe-dev
morning4coffe-dev merged commit d96bdc7 into master May 7, 2026
50 checks passed
@morning4coffe-dev
morning4coffe-dev deleted the dev/doti/a11y-desktop-improvements branch May 7, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants