Const
This operator matches a SwiftUI view with an .accessibilityValue modifier, which is used to provide a textual description of the value represented by the view for screen reader users. The operator creates mutations that remove the modifier.
.accessibilityValue
Before:
Toggle(...) .accessibilityValue(isChecked ? "Checked" : "Unchecked") Copy
Toggle(...) .accessibilityValue(isChecked ? "Checked" : "Unchecked")
After:
Toggle(...) Copy
Toggle(...)
Applicable WCAG Success Criteria:
This operator matches a SwiftUI view with an
.accessibilityValue
modifier, which is used to provide a textual description of the value represented by the view for screen reader users. The operator creates mutations that remove the modifier.Before:
After:
Applicable WCAG Success Criteria: