Variable AccessibilityModifierRemoverConst

AccessibilityModifierRemover: FaultTransformationRule = ...

This rule matches to a SwiftUI view with a .accessibility modifier, which is used to provide a text alternative for screen reader users to a view that doesn't display text. The transformation removes the label.

Before:

Button(...) {...}
.accessibility(label: Text("Close"))

After:

Button(...) {...}

Applicable WCAG Success Criteria: