Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/IAccessibleWidget
Description
Retrieves the logical next widget in the accessible widget hierarchy from this widget. This is conceptually similar to tab navigation with the keyboard. This is primarily used for mobile devices to simulate the right swipe gesture for IOS Voiceover or Android Talkback. An example algorithm to find the next widget in the accessible hierarchy is as follows:
If the current widget has children, return the first child.
If the current widget has no children, return the sibling of the current widget.
If the current widget has no next sibling, search for the first ancestor from the current widget with a next sibling. Return that ancestor's next sibling.
| Name | GetNextWidgetInHierarchy |
| Type | function |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/Accessibility/GenericAccessibleInterfaces.h |
| Include Path | #include "GenericPlatform/Accessibility/GenericAccessibleInterfaces.h" |
TSharedPtr < IAccessibleWidget > GetNextWidgetInHierarchy()
The logical next widget in the accessible widget hierarchy.