From 63c793fe25331b9a865e98fa537f7405d2aa2dfc Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Mon, 6 Jul 2020 15:33:25 -0400 Subject: [PATCH] accessibility fix --- .../TextFields/DigitEntryField.swift | 5 +-- .../Atomic/Atoms/Selectors/RadioBox.swift | 39 +++++++++++++++++-- .../RadioBoxCollectionViewCell.swift | 8 ++++ .../Atomic/Atoms/Selectors/RadioBoxes.swift | 10 +++++ .../Atomic/Atoms/Selectors/RadioSwatch.swift | 27 ++++++++++++- .../RadioSwatchCollectionViewCell.swift | 20 ++++++++++ .../Atoms/Selectors/RadioSwatches.swift | 10 +++++ .../CarouselIndicator/BarsIndicatorView.swift | 5 +-- .../CarouselIndicator/CarouselIndicator.swift | 5 +-- .../Strings/en.lproj/Localizable.strings | 2 +- .../Strings/es-MX.lproj/Localizable.strings | 1 + MVMCoreUI/Utility/MVMCoreUIUtility.h | 3 ++ MVMCoreUI/Utility/MVMCoreUIUtility.m | 6 +++ 13 files changed, 124 insertions(+), 17 deletions(-) diff --git a/MVMCoreUI/Atomic/Atoms/FormFields/TextFields/DigitEntryField.swift b/MVMCoreUI/Atomic/Atoms/FormFields/TextFields/DigitEntryField.swift index 18f61b2d..b1f202a8 100644 --- a/MVMCoreUI/Atomic/Atoms/FormFields/TextFields/DigitEntryField.swift +++ b/MVMCoreUI/Atomic/Atoms/FormFields/TextFields/DigitEntryField.swift @@ -25,12 +25,9 @@ import UIKit if numberOfDigits > 0 { var digitBoxes = [DigitBox]() - let ordinalFormatter = NumberFormatter() - ordinalFormatter.numberStyle = .ordinal - for i in 0..