pub trait AccessibilityBridge {
// Required methods
fn update_accessibility(
&self,
handle: NativeHandle,
info: &AccessibilityInfo,
);
fn announce(&self, message: &str, priority: LiveRegion);
fn set_accessibility_focus(&self, handle: NativeHandle);
}Expand description
Platform bridges implement this to push accessibility info to the OS.
Required Methods§
Sourcefn update_accessibility(&self, handle: NativeHandle, info: &AccessibilityInfo)
fn update_accessibility(&self, handle: NativeHandle, info: &AccessibilityInfo)
Update the accessibility info for a native view.
Sourcefn announce(&self, message: &str, priority: LiveRegion)
fn announce(&self, message: &str, priority: LiveRegion)
Announce a message to the screen reader.
Sourcefn set_accessibility_focus(&self, handle: NativeHandle)
fn set_accessibility_focus(&self, handle: NativeHandle)
Move accessibility focus to a specific element.