Const
This operator matches a SwiftUI view with an .accessibilityLabel modifier, which is used to provide a text alternative for screen reader users. The operator creates mutations that remove the label.
.accessibilityLabel
Before:
Image(...) .accessibilityLabel("Pineapple") Copy
Image(...) .accessibilityLabel("Pineapple")
After:
Image(...) Copy
Image(...)
Applicable WCAG Success Criteria:
This operator matches a SwiftUI view with an
.accessibilityLabel
modifier, which is used to provide a text alternative for screen reader users. The operator creates mutations that remove the label.Before:
After:
Applicable WCAG Success Criteria: