summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/aom/computed_accessible_node.idl
blob: e8b62928fedd1dbdb2b2d0dba6840607348fe38d (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
// 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.

// Computed Accessibility node
// Explainer: https://github.com/WICG/aom/blob/master/explainer.md
// Spec: https://wicg.github.io/aom/spec/
[
    RuntimeEnabled=AccessibilityObjectModel
] interface ComputedAccessibleNode {

    readonly attribute boolean? atomic;
    readonly attribute boolean? busy;
    readonly attribute boolean? disabled;
    readonly attribute boolean? expanded;
    readonly attribute boolean? modal;
    readonly attribute boolean? multiline;
    readonly attribute boolean? multiselectable;
    readonly attribute boolean? readOnly;
    readonly attribute boolean? required;
    readonly attribute boolean? selected;

    readonly attribute long? colCount;
    readonly attribute unsigned long? colIndex;
    readonly attribute unsigned long? colSpan;
    readonly attribute unsigned long? level;
    readonly attribute unsigned long? posInSet;
    readonly attribute long? rowCount;
    readonly attribute unsigned long? rowIndex;
    readonly attribute unsigned long? rowSpan;
    readonly attribute long? setSize;

    readonly attribute double? valueMax;
    readonly attribute double? valueMin;
    readonly attribute double? valueNow;

    readonly attribute DOMString? autocomplete;
    readonly attribute DOMString? checked;
    readonly attribute DOMString? keyShortcuts;
    readonly attribute DOMString? name;
    readonly attribute DOMString? placeholder;
    readonly attribute DOMString? role;
    readonly attribute DOMString? roleDescription;
    readonly attribute DOMString? valueText;

    readonly attribute ComputedAccessibleNode? parent;
    readonly attribute ComputedAccessibleNode? firstChild;
    readonly attribute ComputedAccessibleNode? lastChild;
    readonly attribute ComputedAccessibleNode? previousSibling;
    readonly attribute ComputedAccessibleNode? nextSibling;

    [CallWith=ScriptState] Promise ensureUpToDate();
};