summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/dom/aria_relationship_attributes.idl
blob: 2229d59ed6ae29a09ad8251e1a64b36177bc1a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2019 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.

// ARIA reflection of relationship properties.
// https://w3c.github.io/aria/#idl-interface
[
    RuntimeEnabled=AOMAriaRelationshipProperties
] interface mixin AriaRelationshipAttributes {
    [CEReactions, Reflect=aria_activedescendant] attribute Element? ariaActiveDescendantElement;
    [CEReactions, Reflect=aria_controls] attribute FrozenArray<Element>? ariaControlsElements;
    [CEReactions, Reflect=aria_describedby] attribute FrozenArray<Element>? ariaDescribedByElements;
    [CEReactions, Reflect=aria_details] attribute FrozenArray<Element>? ariaDetailsElements;
    [CEReactions, Reflect=aria_errormessage] attribute Element? ariaErrorMessageElement;
    [CEReactions, Reflect=aria_flowto] attribute FrozenArray<Element>? ariaFlowToElements;
    [CEReactions, Reflect=aria_labelledby] attribute FrozenArray<Element>? ariaLabelledByElements;
    [CEReactions, Reflect=aria_owns] attribute FrozenArray<Element>? ariaOwnsElements;
};

Element includes AriaRelationshipAttributes;
ElementInternals includes AriaRelationshipAttributes;