summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/aom/accessible_node.idl
blob: e74c43d78c3dc0beee52dd619a7220a835e6c13b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Accessibility Object Model node
// Explainer: https://github.com/WICG/aom/blob/master/explainer.md
// Spec: https://wicg.github.io/aom/spec/
[
    Constructor,
    ConstructorCallWith=Document,
    RuntimeEnabled=AccessibilityObjectModel
] interface AccessibleNode : EventTarget {
    attribute AccessibleNode? activeDescendant;
    attribute boolean? atomic;
    attribute DOMString? autocomplete;
    attribute boolean? busy;
    attribute DOMString? checked;
    attribute long? colCount;
    attribute unsigned long? colIndex;
    attribute unsigned long? colSpan;
    attribute AccessibleNodeList? controls;
    attribute DOMString? current;
    attribute AccessibleNodeList? describedBy;
    attribute AccessibleNode? details;
    attribute boolean? disabled;
    attribute AccessibleNode? errorMessage;
    attribute boolean? expanded;
    attribute AccessibleNodeList? flowTo;
    attribute DOMString? hasPopUp;
    attribute boolean? hidden;
    attribute DOMString? invalid;
    attribute DOMString? keyShortcuts;
    attribute DOMString? label;
    attribute AccessibleNodeList? labeledBy;
    attribute unsigned long? level;
    attribute DOMString? live;
    attribute boolean? modal;
    attribute boolean? multiline;
    attribute boolean? multiselectable;
    attribute DOMString? orientation;
    attribute AccessibleNodeList? owns;
    attribute DOMString? placeholder;
    attribute unsigned long? posInSet;
    attribute DOMString? pressed;
    attribute boolean? readOnly;
    attribute DOMString? relevant;
    attribute boolean? required;
    attribute DOMString? role;
    attribute DOMString? roleDescription;
    attribute long? rowCount;
    attribute unsigned long? rowIndex;
    attribute unsigned long? rowSpan;
    attribute boolean? selected;
    attribute long? setSize;
    attribute DOMString? sort;
    attribute double? valueMax;
    attribute double? valueMin;
    attribute double? valueNow;
    attribute DOMString? valueText;

    attribute EventHandler onaccessibleclick;
    attribute EventHandler onaccessiblecontextmenu;
    attribute EventHandler onaccessibledecrement;
    attribute EventHandler onaccessiblefocus;
    attribute EventHandler onaccessibleincrement;
    attribute EventHandler onaccessiblescrollintoview;

    readonly attribute AccessibleNodeList childNodes;

    [RaisesException] void appendChild(AccessibleNode child);
    [RaisesException] void removeChild(AccessibleNode child);
};