Variable AccessibilityValueModifierRemoverConst

AccessibilityValueModifierRemover: FaultTransformationRule = ...

This rule matches to a SwiftUI view with a .accessibilityValue modifier, which is used for providing a textual description of the value represented by the view for screen reader users. The transformation removes the modifier.

Before:

Toggle(...)
.accessibilityValue(isChecked ? "Checked" : "Unchecked")

After:

Toggle(...)

Applicable WCAG Success Criteria: