class
CArcAccessibilityManager
- Module
- Arc
- Header
#include "Arc/Accessibility/CArcAccessibility.h"- Namespace
Arcf
Type aliases
| Alias | Description |
|---|---|
using FFocusChangedHook = std::function<void(IArcPlatformWindow* window)> | Keyboard focus moved inside window. The input processor reports every change; a platform screen-reader bridge installs the hook and raises the OS focus event from it. |
Public functions
| Returns | Name | Description |
|---|---|---|
CArcAccessibilityManager& | Get | |
void | SetEnabled | |
bool | IsEnabled | |
void | Announce | |
void | SetHighContrastMode | Widgets should switch to the high-contrast palette while this is set |
bool | IsHighContrastMode | |
void | SetReducedMotionMode | Animations should be suppressed or shortened while this is set. |
bool | IsReducedMotionMode | |
void | ClearReducedMotionOverride | Back to following the OS (a "System" choice in a settings page). |
bool | HasReducedMotionOverride | |
void | RefreshSystemPreferences | Re-reads the OS accessibility settings through the PAL. |
void | SetSystemReducedMotion | |
bool | IsSystemReducedMotion | |
CArcAccessibleInfo | GetWidgetInfo | |
std::vector<CAnnouncement> | ConsumePendingAnnouncements | |
void | SetFocusChangedHook | |
void | NotifyFocusChanged |
Function details
Get
C++
static CArcAccessibilityManager& Get()SetEnabled
C++
void SetEnabled(bool enabled)IsEnabled
C++
bool IsEnabled() constAnnounce
C++
void Announce(const std::string& text, EUrgency urgency = EUrgency::Polite)SetHighContrastMode
C++
void SetHighContrastMode(bool enabled)Widgets should switch to the high-contrast palette while this is set
IsHighContrastMode
C++
bool IsHighContrastMode() constSetReducedMotionMode
C++
void SetReducedMotionMode(bool enabled)Animations should be suppressed or shortened while this is set. An explicit Set wins; until one is made the OS setting decides, which RefreshSystemPreferences reads (at startup and on window focus).
IsReducedMotionMode
C++
bool IsReducedMotionMode() constClearReducedMotionOverride
C++
void ClearReducedMotionOverride()Back to following the OS (a "System" choice in a settings page).
HasReducedMotionOverride
C++
bool HasReducedMotionOverride() constRefreshSystemPreferences
C++
void RefreshSystemPreferences()Re-reads the OS accessibility settings through the PAL.
SetSystemReducedMotion
C++
void SetSystemReducedMotion(bool reduced)IsSystemReducedMotion
C++
bool IsSystemReducedMotion() constGetWidgetInfo
C++
CArcAccessibleInfo GetWidgetInfo(const AWidget* widget) constConsumePendingAnnouncements
C++
std::vector<CAnnouncement> ConsumePendingAnnouncements()SetFocusChangedHook
C++
void SetFocusChangedHook(FFocusChangedHook hook)NotifyFocusChanged
C++
void NotifyFocusChanged(IArcPlatformWindow* window)Generated from Arc/Accessibility/CArcAccessibility.h via arc.json · Nov 5, 2026Version 1.0.0