Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

spec(AST-093): Swift accessibility-tree assertions are not measured until an app-hosted target exists (#8259)

Cindy Zhang577735cb3b0f
diff --git a/docs/specs/AST-093-native-component-guidelines/spec.md b/docs/specs/AST-093-native-component-guidelines/spec.md
index 7f42878945..e63e89b75b 100644
--- a/docs/specs/AST-093-native-component-guidelines/spec.md
+++ b/docs/specs/AST-093-native-component-guidelines/spec.md
@@ -149,6 +149,12 @@ validating, and reviewing individual native components while
they are the only native components exempt from FR5's generated-parameter
requirement; every other FR5 check applies to them. A new view never takes
this exemption.
+- Swift tests run as Swift package tests, where SwiftUI exposes no
+ accessibility tree, so FR5's accessibility assertions check the label,
+ traits, and value a view sets, not the tree VoiceOver reads. Until an
+ app-hosted iOS test target exists, a change reports the rendered tree's
+ accessibility as not measured, as FR5 reports a claim it could not capture.
+ Every other FR5 check applies.
## Verification