public interface IA11yService
{
/// <summary>
/// Force accessibility focus to specified element
/// </summary>
/// <param name="element"></param>
void SetFocus(VisualElement element);
/// <summary>
/// Tell an element to parade around as a different element
/// </summary>
/// <param name="element"></param>
/// <param name="controlType"></param>
void SetControlType(VisualElement element, ControlType controlType);
/// <summary>
/// Sets the element to being a clickable element (like a button).
/// iOS: this is the same as setting control type to Button
/// Android: Sets the "clickable" property on the native view to true
/// </summary>
/// <param name="element"></param>
/// <param name="isClickable">Null resets element to the default</param>
void SetIsClickable(VisualElement element, bool isClickable, Action clicked);
}
forked from PureWeen/A11YTools
-
Notifications
You must be signed in to change notification settings - Fork 0
rachelkang/A11YTools
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C# 100.0%