Definition
- Namespace:
- ElmSharp.Accessible
- Assembly:
- ElmSharp.dll
IAccessibleObject is an interface, which defines the properties and methods of an accessible object.
[Obsolete("This has been deprecated in API12")]
public interface IAccessibleObject
Properties
View Source
CanHighlight
Gets or sets the highlightable of the given widget.
Declaration
[Obsolete("This has been deprecated in API12")]
bool CanHighlight { get; set; }
Property Value
View Source
Description
Gets or sets contextual information about the object.
Declaration
[Obsolete("This has been deprecated in API12")]
string Description { get; set; }
Property Value
Declaration
[Obsolete("This has been deprecated in API12")]
AccessibleInfoProvider DescriptionProvider { get; set; }
Property Value
View Source
Name
Gets or sets an accessible name of the object.
Declaration
[Obsolete("This has been deprecated in API12")]
string Name { get; set; }
Property Value
Declaration
[Obsolete("This has been deprecated in API12")]
AccessibleInfoProvider NameProvider { get; set; }
Property Value
View Source
ReadingInfoType
Gets or sets the reading information types of an accessible object.
Declaration
[Obsolete("This has been deprecated in API12")]
ReadingInfoType ReadingInfoType { get; set; }
Property Value
View Source
Role
Gets or sets the role of the object in an accessibility domain.
Declaration
[Obsolete("This has been deprecated in API12")]
AccessRole Role { get; set; }
Property Value
View Source
TranslationDomain
Gets or sets the translation domain of the "name" and "description" properties.
Translation domain should be set if the application wants to support i18n for accessing the "name" and "description" properties.
When the translation domain is set, values of the "name" and "description" properties will be translated with dgettext function using the current translation domain as "domainname" parameter.
It is the application developer's responsibility to ensure that translation files are loaded and binded to the translation domain when accessibility is enabled.
Declaration
[Obsolete("This has been deprecated in API12")]
string TranslationDomain { get; set; }
Property Value
Methods
View Source
AppendRelation(IAccessibleRelation)
Defines the relationship between two accessible objects.
Relationships can be queried by Assistive Technology clients to provide customized feedback, improving overall user experience.
AppendRelation API is asymmetric, which means that appending (For example, relation FlowsTo from object A to B) do not append relation FlowsFrom from object B to object A.
Declaration
[Obsolete("This has been deprecated in API12")]
void AppendRelation(IAccessibleRelation relation)
Parameters
Type |
Name |
Description |
IAccessibleRelation |
relation |
The relationship between the source object and target object of a given type.
|
View Source
Highlight()
Highlights the accessible widget.
Declaration
[Obsolete("This has been deprecated in API12")]
void Highlight()
View Source
RemoveRelation(IAccessibleRelation)
Removes the relationship between two accessible objects.
Declaration
[Obsolete("This has been deprecated in API12")]
void RemoveRelation(IAccessibleRelation relation)
Parameters
Type |
Name |
Description |
IAccessibleRelation |
relation |
The relationship between the source object and target object of a given type.
|
View Source
Unhighlight()
Clears the highlight of the accessible widget.
Declaration
[Obsolete("This has been deprecated in API12")]
void Unhighlight()