1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4 * You can obtain one at http://mozilla.org/MPL/2.0/.
6 * The origin of this IDL file is
7 * https://w3c.github.io/aria/#ARIAMixin
9 * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
10 * liability, trademark and document use rules apply.
13 interface mixin ARIAMixin {
14 [Pref="accessibility.ARIAElementReflection.enabled", CEReactions]
15 attribute Element? ariaActiveDescendantElement;
17 [CEReactions, SetterThrows]
18 attribute DOMString? role;
20 [CEReactions, SetterThrows]
21 attribute DOMString? ariaAtomic;
23 [CEReactions, SetterThrows]
24 attribute DOMString? ariaAutoComplete;
26 [CEReactions, SetterThrows]
27 attribute DOMString? ariaBrailleLabel;
29 [CEReactions, SetterThrows]
30 attribute DOMString? ariaBrailleRoleDescription;
32 [CEReactions, SetterThrows]
33 attribute DOMString? ariaBusy;
35 [CEReactions, SetterThrows]
36 attribute DOMString? ariaChecked;
38 [CEReactions, SetterThrows]
39 attribute DOMString? ariaColCount;
41 [CEReactions, SetterThrows]
42 attribute DOMString? ariaColIndex;
44 [CEReactions, SetterThrows]
45 attribute DOMString? ariaColIndexText;
47 [CEReactions, SetterThrows]
48 attribute DOMString? ariaColSpan;
50 [CEReactions, SetterThrows]
51 attribute DOMString? ariaCurrent;
53 [CEReactions, SetterThrows]
54 attribute DOMString? ariaDescription;
56 [CEReactions, SetterThrows]
57 attribute DOMString? ariaDisabled;
59 [CEReactions, SetterThrows]
60 attribute DOMString? ariaExpanded;
62 [CEReactions, SetterThrows]
63 attribute DOMString? ariaHasPopup;
65 [CEReactions, SetterThrows]
66 attribute DOMString? ariaHidden;
68 [CEReactions, SetterThrows]
69 attribute DOMString? ariaInvalid;
71 [CEReactions, SetterThrows]
72 attribute DOMString? ariaKeyShortcuts;
74 [CEReactions, SetterThrows]
75 attribute DOMString? ariaLabel;
77 [CEReactions, SetterThrows]
78 attribute DOMString? ariaLevel;
80 [CEReactions, SetterThrows]
81 attribute DOMString? ariaLive;
83 [CEReactions, SetterThrows]
84 attribute DOMString? ariaModal;
86 [CEReactions, SetterThrows]
87 attribute DOMString? ariaMultiLine;
89 [CEReactions, SetterThrows]
90 attribute DOMString? ariaMultiSelectable;
92 [CEReactions, SetterThrows]
93 attribute DOMString? ariaOrientation;
95 [CEReactions, SetterThrows]
96 attribute DOMString? ariaPlaceholder;
98 [CEReactions, SetterThrows]
99 attribute DOMString? ariaPosInSet;
101 [CEReactions, SetterThrows]
102 attribute DOMString? ariaPressed;
104 [CEReactions, SetterThrows]
105 attribute DOMString? ariaReadOnly;
107 [CEReactions, SetterThrows]
108 attribute DOMString? ariaRelevant;
110 [CEReactions, SetterThrows]
111 attribute DOMString? ariaRequired;
113 [CEReactions, SetterThrows]
114 attribute DOMString? ariaRoleDescription;
116 [CEReactions, SetterThrows]
117 attribute DOMString? ariaRowCount;
119 [CEReactions, SetterThrows]
120 attribute DOMString? ariaRowIndex;
122 [CEReactions, SetterThrows]
123 attribute DOMString? ariaRowIndexText;
125 [CEReactions, SetterThrows]
126 attribute DOMString? ariaRowSpan;
128 [CEReactions, SetterThrows]
129 attribute DOMString? ariaSelected;
131 [CEReactions, SetterThrows]
132 attribute DOMString? ariaSetSize;
134 [CEReactions, SetterThrows]
135 attribute DOMString? ariaSort;
137 [CEReactions, SetterThrows]
138 attribute DOMString? ariaValueMax;
140 [CEReactions, SetterThrows]
141 attribute DOMString? ariaValueMin;
143 [CEReactions, SetterThrows]
144 attribute DOMString? ariaValueNow;
146 [CEReactions, SetterThrows]
147 attribute DOMString? ariaValueText;