blob: bf80fa66e2f36e2bf37ef78b8ed11d821f4cde53 [file] [log] [blame]
// 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 DOMString? keyShortcuts;
readonly attribute DOMString? name;
readonly attribute DOMString? placeholder;
readonly attribute DOMString? role;
readonly attribute DOMString? roleDescription;
readonly attribute DOMString? valueText;
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 ComputedAccessibleNode? parent;
readonly attribute ComputedAccessibleNode? firstChild;
readonly attribute ComputedAccessibleNode? lastChild;
readonly attribute ComputedAccessibleNode? previousSibling;
readonly attribute ComputedAccessibleNode? nextSibling;
[CallWith=ScriptState] Promise ensureUpToDate();
};