| name | accessibility |
| description | Implement accessibility for the .NET 8 WPF widget host app. Use when improving keyboard navigation, screen reader support, focus states, and color contrast in XAML and styles. |
Accessibility
Overview
Make the shell and widgets usable with keyboard navigation and assistive technologies.
Core areas
- Keyboard navigation and focus order
- Screen reader semantics
- Color contrast and focus visuals
Workflow
- Validate tab order and keyboard interactions.
- Add automation properties for screen readers.
- Ensure focus visuals are visible and consistent.
- Check color contrast in Light/Dark themes.
Guidance
- Use
AutomationProperties.NameandHelpTextwhere needed. - Avoid removing focus outlines without replacement.
- Test with high contrast mode if possible.
References
references/keyboard.mdfor keyboard nav patterns.references/screen-readers.mdfor automation properties.references/color-contrast.mdfor contrast rules.