Accessibility: ScrollView to auto scroll to the view which are not visible on hitting “TAB”
问题 Could someone let me know how can I automatically scroll the scrollView when a keyboard-only user tries to navigate between different UI Element in the ScrollView using ‘Tab’ key? When I hit "TAB" key the focus is shifted to different UI element present in the scrollView but it doesn't scroll if the UI Element is not present in the Visible Content View. How can this be achieved. Help would be appreciated. Thanks. 回答1: Solution A: Create a subclass of NSWindow and override makeFirstResponder: