UNPKG

690 BTypeScriptView Raw
1/**
2 * Accessibility information which controls screen reader behavior.
3 */
4export interface AccessibilityInformation {
5 /**
6 * Label to be read out by a screen reader once the item has focus.
7 */
8 readonly label: string;
9 /**
10 * Role of the widget which defines how a screen reader interacts with it.
11 * The role should be set in special cases when for example a tree-like element behaves like a checkbox.
12 * If role is not specified the editor will pick the appropriate role automatically.
13 * More about aria roles can be found here https://w3c.github.io/aria/#widget_roles
14 */
15 readonly role?: string;
16}
17//# sourceMappingURL=accessibility.d.ts.map
\No newline at end of file