diff --git a/MVMCoreUI/Atomic/Atoms/Selectors/Checkbox.swift b/MVMCoreUI/Atomic/Atoms/Selectors/Checkbox.swift index 473e56df..ddf84d7d 100644 --- a/MVMCoreUI/Atomic/Atoms/Selectors/Checkbox.swift +++ b/MVMCoreUI/Atomic/Atoms/Selectors/Checkbox.swift @@ -83,28 +83,7 @@ import VDS self.init(frame: .zero) isSelected = isChecked } - - //-------------------------------------------------- - // MARK: - Lifecycle - //-------------------------------------------------- - - open override func setup() { - super.setup() - bridge_accessibilityLabelBlock = { [weak self] in - // Attention: This needs to be addressed with the accessibility team. - // NOTE: Currently emptying description part of MVMCoreUICheckBox accessibility label to avoid crashing! - guard let self, - let state = MVMCoreUIUtility.hardcodedString(withKey: isSelected ? "checkbox_checked_state" : "checkbox_unchecked_state") - else { return nil } - - return String(format: MVMCoreUIUtility.hardcodedString(withKey: "checkbox_desc_state") ?? "%@%@", "", state) - } - bridge_accessibilityHintBlock = { - MVMCoreUIUtility.hardcodedString(withKey: "checkbox_action_hint") - } - } - //-------------------------------------------------- // MARK: - Actions //--------------------------------------------------