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