Navigation
API > API/Plugins > API/Plugins/ScreenReader > API/Plugins/ScreenReader/Navigation
Inheritance Hierarchy
- IScreenReaderNavigationPolicy
- FScreenReaderDefaultNavigationPolicy
References
| Module | ScreenReader |
| Header | /Engine/Plugins/Experimental/ScreenReader/Source/ScreenReader/Public/Navigation/ScreenReaderNavigationPolicy.h |
| Include | #include "Navigation/ScreenReaderNavigationPolicy.h" |
Syntax
class IScreenReaderNavigationPolicy
Remarks
An interface that controls how a screen reader user navigates around the accessible widget hierarchy and what accessible widgets can be navigated to from a source widget. Clients can provide custom implementations to provide different navigation behaviors for screen reader users at runtime. A sample implementation is FDefaultScreenReaderNavigationPolicy.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< IAccessibleWidget > | GetFirstAncestorFrom
(
const TSharedRef< IAccessibleWidget >& Source |
Returns the first ancestor from the source widget that satisfies the navigation policy. | |
| TSharedPtr< IAccessibleWidget > | GetFirstChildFrom
(
const TSharedRef< IAccessibleWidget >& Source |
Returns the first child from the source widget that satisfies the navigation policy. | |
| TSharedPtr< IAccessibleWidget > | GetNextSiblingFrom
(
const TSharedRef< IAccessibleWidget >& Source |
Returns the first instance of a next sibling from the source widget that satisfies the navigation policy. | |
| TSharedPtr< IAccessibleWidget > | GetNextWidgetInHierarchyFrom
(
const TSharedRef< IAccessibleWidget >& Source |
Returns the first instance of a logical next widget from the source widget that satisfies the navigation policy. | |
| TSharedPtr< IAccessibleWidget > | GetPreviousSiblingFrom
(
const TSharedRef< IAccessibleWidget >& Source |
Returns the first instance of a previous sibling from the source widget that satisfies the navigation policy. | |
| TSharedPtr< IAccessibleWidget > | GetPreviousWidgetInHierarchyFrom
(
const TSharedRef< IAccessibleWidget >& Source |
Returns the first instance of a logical previous widget from the source widget that satisfies the navigation policy. |
See Also
FDefaultScreenReaderNavigaitonPolicy