Const
This operator matches a SwiftUI view with an .accessibilityHidden modifier, which is used to hide views with decorative or repetitive content from screen readers. The operator creates mutations that remove the modifier.
.accessibilityHidden
Before:
SomeView(...) .accessibilityHidden(true) Copy
SomeView(...) .accessibilityHidden(true)
After:
SomeView(...) Copy
SomeView(...)
Applicable WCAG Success Criteria:
This operator matches a SwiftUI view with an
.accessibilityHidden
modifier, which is used to hide views with decorative or repetitive content from screen readers. The operator creates mutations that remove the modifier.Before:
After:
Applicable WCAG Success Criteria: