From 92b7c3ef363cbc4dc047fd724b95934c0eae6e15 Mon Sep 17 00:00:00 2001 From: Keerthy Date: Wed, 1 Nov 2023 11:19:30 +0530 Subject: [PATCH] foucs spelling mistake --- MVMCoreUI/Accessibility/AccessibilityHandler.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MVMCoreUI/Accessibility/AccessibilityHandler.swift b/MVMCoreUI/Accessibility/AccessibilityHandler.swift index 73047b06..d8053cf9 100644 --- a/MVMCoreUI/Accessibility/AccessibilityHandler.swift +++ b/MVMCoreUI/Accessibility/AccessibilityHandler.swift @@ -45,7 +45,7 @@ public class AccessibilityOperation: MVMCoreOperation { //MARK: - AccessibilityHandler /** AccessibilityHandler will observe the page visibility of every view controller and post notification to the first interactive element on the screen. - If we have to shift/foucs custom element on the screen on controller shown then we need to pass accessibilityId in the page response. + If we have to shift/focus custom element on the screen on controller shown then we need to pass accessibilityId in the page response. */ open class AccessibilityHandler { @@ -75,7 +75,7 @@ open class AccessibilityHandler { } /** - This method will capture current foucsed element + This method will capture current focused element */ open func capturePreviousFocusElement() { previousAccessiblityElement = UIAccessibility.focusedElement(using: .notificationVoiceOver) @@ -138,7 +138,7 @@ extension AccessibilityHandler { This method is used to capture accessibility views on the screen. If the page has accessibilityId, then it will not post any accessibility notification because respective UI mapped element can be identified only on page shown. If it has top notification then we are capturing the first focused element and will not post any accessibility notification. - If page doesn't have any top notification or accessibilityId then it will post notification to shift foucs to first focused element on the screen. + If page doesn't have any top notification or accessibilityId then it will post notification to shift focus to first focused element on the screen. */ public func willShowPage(_ delegateObject: MVMCoreUIDelegateObject?) { updateAccessibilityViews(delegateObject) @@ -201,8 +201,8 @@ extension AccessibilityHandler { @objc extension AccessibilityHandler { /** - This method listens for foucs changes. - When foucs is changed manually then we are cancelling existing operations. + This method listens for focus changes. + When focus is changed manually then we are cancelling existing operations. */ private func registerForFocusChanges() { //Since focus shifted to other elements cancelling existing focus shift notifications if any