Merge branch 'bugfix/proddef_26055_2' into 'release/20_1_0'

bugfix PRODDEF-26055 Issue #2

### Summary
added missing view to getAcessibilityElements func

### JIRA Ticket
https://onejira.verizon.com/browse/PRODDEF-26055

Co-authored-by: Hedden, Kyle Matthew <kyle.hedden@verizonwireless.com>
Co-authored-by: Arun Kumar Chintakrinda <arun.kumar.chintakrinda@verizon.com>

See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/1168
This commit is contained in:
Pfeil, Scott Robert 2024-08-08 20:56:49 +00:00
commit 21d1e957d0

View File

@ -345,7 +345,11 @@ open class SubNavManagerController: ViewController, MVMCoreViewManagerProtocol,
}
@objc public func getAccessibilityElements() -> [Any]? {
[tabs]
//forcing lazy view load to have accessibility elements available in time for the accessibility manager
guard let navigationControllerView = subNavigationController.view else {
return [tabs]
}
return [tabs, navigationControllerView]
}
open override func observeForResponseJSONUpdates() {