From eb9a3d62f47a62582838854242f24fe1755b6ed4 Mon Sep 17 00:00:00 2001 From: BlackSpirits Date: Sun, 13 Sep 2026 19:22:30 +0200 Subject: [PATCH 1/2] Tests: surface structural accessibility sweep skips --- tests/UI/Logic/AccessibleNamesTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/UI/Logic/AccessibleNamesTests.cs b/tests/UI/Logic/AccessibleNamesTests.cs index 387887d73f..c87e3e8044 100644 --- a/tests/UI/Logic/AccessibleNamesTests.cs +++ b/tests/UI/Logic/AccessibleNamesTests.cs @@ -99,7 +99,8 @@ public void EveryInputInEveryWindow_HasAnAccessibleName() } } - Assert.True(opened > 50, $"Only {opened} windows opened; skipped: {string.Join(", ", skipped)}"); + Assert.True(skipped.Count == 0, $"Windows skipped structurally: {string.Join(", ", skipped)}"); + Assert.True(opened > 50, $"Only {opened} windows opened"); Assert.True(unnamed.Length == 0, $"Inputs without an accessible name ({opened} windows opened, {skipped.Count} skipped):\n{unnamed}"); } From 5032d6507603808b5bf6775a18b52ce64921f861 Mon Sep 17 00:00:00 2001 From: BlackSpirits Date: Sun, 13 Sep 2026 19:49:34 +0200 Subject: [PATCH 2/2] Tests: make accessibility structural skips explicit --- tests/UI/Logic/AccessibleNamesTests.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/UI/Logic/AccessibleNamesTests.cs b/tests/UI/Logic/AccessibleNamesTests.cs index c87e3e8044..18b97b66b5 100644 --- a/tests/UI/Logic/AccessibleNamesTests.cs +++ b/tests/UI/Logic/AccessibleNamesTests.cs @@ -27,7 +27,13 @@ public class AccessibleNamesTests { private static readonly string[] SkippedWindows = [ - // Needs a video/file and starts work in the constructor. + // Runtime-only fullscreen host: requires an existing VideoPlayerControl plus media state + // and callbacks; it is not a DI/view-model tool window that this reflection sweep can build. + "FullScreenVideoWindow", + + // Factory-created modal with a private multi-argument constructor. It is exercised through + // MessageBox.Show rather than constructed from a DI-resolvable view model. + "MessageBox", ]; [AvaloniaFact]