-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description: When navigating to the MealDetailsViewController, the VoiceOver focus does not start at the top of the screen (navigation bar elements like 'back' and 'favorite' buttons). Instead, it jumps directly to the first element within the scrollable content area.
Investigation Summary (What we've tried):
Verified that no high-level container view has isAccessibilityElement = true.
Explicitly set scrollView.isAccessibilityElement = false.
Attempted to force the navigation order using self.accessibilityElements in both viewDidLoad and viewDidAppear.
Attempted to force a screen layout update for accessibility by posting a UIAccessibility.post(notification: .screenChanged, ...) notification in viewDidAppear.
None of the standard solutions have resolved the issue, indicating a subtle bug related to UIScrollView's interaction with the accessibility engine.
Decision: Classified as technical debt. The core accessibility of the screen's content and actions is functional. We will move forward with other features and revisit this UI polish issue at a later date.