docs(rules): add WPF accessibility and theming, trim WPF rules

A new WPF topic rule covers accessibility (AutomationProperties names
and help text, keyboard access, visible focus, high contrast through
SystemColors, automation peers for custom controls), DPI scaling in
device-independent units with tests across scale factors and monitors,
and the Fluent theme through ThemeMode on .NET 9 and later.

The existing WPF rules lose about a quarter of their size by merging
one-line generic bullets that the C# and shared rules already cover,
while keeping the WPF-specific pitfalls. Duplicate async void and
binding error guidance is merged, client secret handling defers to the
client app security rule, the architecture rule asks to check .NET
Framework versus .NET before using newer APIs, and the CommunityToolkit
note states that partial properties require C# 14.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Julian LechnerandClaude Opus 5.5 committed 2026-11-18 10:14:24 +01:00
1 parent b6c33780c3
commit df09ddeaa9
8 files changed
+69 -185

No files matched your search

+1
View File
@@ -10,3 +10,4 @@ For WPF, XAML, or MVVM work, open only the focused topic rules relevant to the c
| Resources and lifecycle | `references/resources-and-lifecycle.md` | `rules-wpf-resources-and-lifecycle` |
| Security, errors, logging, and validation | `references/security-and-errors.md` | `rules-wpf-security-and-errors` |
| Architecture, dependency injection, testing, and performance | `references/architecture-and-quality.md` | `rules-wpf-architecture-and-quality` |
| Accessibility, DPI scaling, and theming | `references/accessibility-and-theming.md` | `rules-wpf-accessibility-and-theming` |