maui-accessibility
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "maui-accessibility" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a33720182d3b77a07517e226782aeebbce0be2b13c8c226af088e39206b1e333. Verify the upstream source and version against https://github.com/davidortinau/maui-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Guidance for implementing accessibility in .NET MAUI apps: use SemanticProperties for screen reader support, set heading levels, control visibility with AutomationProperties, manage programmatic focus and screen reader announcements, and note platform-specific considerations for TalkBack, VoiceOver, and Narrator. Suitable for adding accessibility features and audits; does not cover general UI layout, animations, or gestures.
Introduction source: third_party · davidortinau · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Setting `SemanticProperties.Description` on a `Label` **overrides** the `Text` property for screen readers. The label may be read twice or behave unexpectedly.
- Testing
- Not tested
Browse files
Frontmatter
name: maui-accessibility
description: >
Guide for making .NET MAUI apps accessible — screen reader support via SemanticProperties,
heading levels, AutomationProperties visibility control, programmatic focus and announcements,
and platform-specific gotchas for TalkBack, VoiceOver, and Narrator.
USE FOR: "add accessibility", "screen reader support", "SemanticProperties", "AutomationProperties",
"TalkBack", "VoiceOver", "Narrator", "accessible MAUI", "heading levels", "semantic description",
"announce to screen reader", "accessibility audit".
DO NOT USE FOR: general UI layout (use maui-collectionview or maui-shell-navigation),
animations (use maui-animations), or gestures (use maui-gestures)..NET MAUI Accessibility
Critical Platform Gotchas
1. Don't set Description on Label
Setting SemanticProperties.Description on a Label overrides the Text
property for screen readers. The label may be read twice or behave unexpectedly.
<!-- ❌ Stops Text from being read naturally -->
<Label Text="Welcome"
SemanticProperties.Description="Welcome" />
<!-- ✅ Screen reader reads Text automatically -->
<Label Text="Welcome" />
2. Android Entry/Editor: Description breaks TalkBack actions
On Android, setting SemanticProperties.Description on Entry or Editor
causes TalkBack to lose "double tap to edit" action hints.
<!-- ❌ Breaks TalkBack on Android -->
<Entry SemanticProperties.Description="Email address" />
<!-- ✅ Use Placeholder for context instead -->
<Entry Placeholder="Email address" />
3. iOS: Description on parent hides children
On iOS/VoiceOver, setting SemanticProperties.Description on a layout makes the
entire container a single accessible element — child elements become unreachable.
<!-- ❌ Children invisible to VoiceOver -->
<HorizontalStackLayout SemanticProperties.Description="User info">
<Label Text="Name:" />
<Label Text="Alice" />
</HorizontalStackLayout>
<!-- ✅ Let children be individually focusable -->
<HorizontalStackLayout>
<Label Text="Name:" />
<Label Text="Alice" />
</HorizontalStackLayout>
4. Hint conflicts with Entry.Placeholder on Android
On Android, SemanticProperties.Hint and Entry.Placeholder map to the same
Android attribute (contentDescription / hint). Setting both causes one to
override the other. Choose one.
5. HeadingLevel platform differences
- Windows (Narrator): Supports all 9 heading levels (
Level1–Level9). - Android (TalkBack) / iOS (VoiceOver): Only distinguish "heading" vs "not heading". All levels are treated identically.
Use heading levels for semantic correctness — just know the hierarchy only renders on Windows.
Accessibility Checklist
When auditing or retrofitting a page:
- Images: Add
SemanticProperties.Descriptionto meaningful images. SetAutomationProperties.IsInAccessibleTree="false"on decorative ones. - Buttons/Controls: Ensure icon-only buttons have
Description. Text buttons generally don't need it. - Entries/Editors: Use
Placeholderfor context. AddHintonly if extra instruction is needed. AvoidDescription(Android breakage). - Labels: Do not add
Description— letTextspeak for itself. AddHeadingLevelto section headers. - Headings: Mark page title as
Level1, section titles asLevel2, etc. - Grouping: Avoid
Descriptionon layout containers (iOS breakage). UseExcludedWithChildrento hide decorative groups. - Dynamic content: Call
SemanticScreenReader.Announcefor status changes. UseSetSemanticFocusafter navigation or error display. - Tab order: Set
TabIndexon interactive controls for logical order. - Test: Run TalkBack (Android), VoiceOver (iOS/Mac), and Narrator (Windows) to verify reading order and actions.
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 .NET MAUI 无障碍访问的完整实现指南
- 涵盖 SemanticProperties、AutomationProperties、屏幕阅读器支持等核心功能
- 包含针对 TalkBack、VoiceOver、Narrator 的平台特定注意事项
- 提供实用的无障碍审计清单和代码示例
Highlights
- 触发词覆盖全面,包含 "add accessibility"、"screen reader support"、"SemanticProperties" 等关键词
- 明确区分适用场景和不适用场景,边界清晰
- DO NOT USE FOR 部分有效避免与其他 Skill 重叠
Highlights
- 结构清晰,分为 Critical Platform Gotchas 和 Accessibility Checklist 两大核心部分
- 使用编号列表和代码示例展示最佳实践和反模式
- frontmatter 完整,包含 name 和 description
- 文档长度适中,易于阅读和理解
Highlights
- 提供具体平台兼容性警告(Android TalkBack、iOS VoiceOver、Windows Narrator)
- 代码示例明确展示应避免的错误做法和推荐做法
- 包含端到端的无障碍审计清单,覆盖图片、按钮、输入框、标签等所有关键元素
- 建议进行多平台测试验证
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.