tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ARIAMixin.webidl (5182B)


      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/.
      5 *
      6 * The origin of this IDL file is
      7 * https://w3c.github.io/aria/#ARIAMixin
      8 *
      9 * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
     10 * liability, trademark and document use rules apply.
     11 */
     12 
     13 interface mixin ARIAMixin {
     14  [Pref="accessibility.ARIAElementReflection.enabled", CEReactions]
     15  attribute Element? ariaActiveDescendantElement;
     16 
     17  [CEReactions, SetterThrows]
     18  attribute DOMString? role;
     19 
     20  [CEReactions, SetterThrows]
     21  attribute DOMString? ariaAtomic;
     22 
     23  [CEReactions, SetterThrows]
     24  attribute DOMString? ariaAutoComplete;
     25 
     26  [CEReactions, SetterThrows]
     27  attribute DOMString? ariaBrailleLabel;
     28 
     29  [CEReactions, SetterThrows]
     30  attribute DOMString? ariaBrailleRoleDescription;
     31 
     32  [CEReactions, SetterThrows]
     33  attribute DOMString? ariaBusy;
     34 
     35  [CEReactions, SetterThrows]
     36  attribute DOMString? ariaChecked;
     37 
     38  [CEReactions, SetterThrows]
     39  attribute DOMString? ariaColCount;
     40 
     41  [CEReactions, SetterThrows]
     42  attribute DOMString? ariaColIndex;
     43 
     44  [CEReactions, SetterThrows]
     45  attribute DOMString? ariaColIndexText;
     46 
     47  [CEReactions, SetterThrows]
     48  attribute DOMString? ariaColSpan;
     49 
     50  // TODO: Use FrozenArray once available. (Bug 1236777)
     51  [Pref="accessibility.ARIAElementReflection.enabled", Frozen, ReflectedHTMLAttributeReturningFrozenArray]
     52  attribute sequence<Element>? ariaControlsElements;
     53 
     54  [CEReactions, SetterThrows]
     55  attribute DOMString? ariaCurrent;
     56 
     57  // TODO: Use FrozenArray once available. (Bug 1236777)
     58  [Pref="accessibility.ARIAElementReflection.enabled", Frozen, ReflectedHTMLAttributeReturningFrozenArray]
     59  attribute sequence<Element>? ariaDescribedByElements;
     60 
     61  [CEReactions, SetterThrows]
     62  attribute DOMString? ariaDescription;
     63 
     64  // TODO: Use FrozenArray once available. (Bug 1236777)
     65  [Pref="accessibility.ARIAElementReflection.enabled", Frozen, ReflectedHTMLAttributeReturningFrozenArray]
     66  attribute sequence<Element>? ariaDetailsElements;
     67 
     68  [CEReactions, SetterThrows]
     69  attribute DOMString? ariaDisabled;
     70 
     71  // TODO: Use FrozenArray once available. (Bug 1236777)
     72  [Pref="accessibility.ARIAElementReflection.enabled", Frozen, ReflectedHTMLAttributeReturningFrozenArray]
     73  attribute sequence<Element>? ariaErrorMessageElements;
     74 
     75  [CEReactions, SetterThrows]
     76  attribute DOMString? ariaExpanded;
     77 
     78  // TODO: Use FrozenArray once available. (Bug 1236777)
     79  [Pref="accessibility.ARIAElementReflection.enabled", Frozen, ReflectedHTMLAttributeReturningFrozenArray]
     80  attribute sequence<Element>? ariaFlowToElements;
     81 
     82  [CEReactions, SetterThrows]
     83  attribute DOMString? ariaHasPopup;
     84 
     85  [CEReactions, SetterThrows]
     86  attribute DOMString? ariaHidden;
     87 
     88  [CEReactions, SetterThrows]
     89  attribute DOMString? ariaInvalid;
     90 
     91  [CEReactions, SetterThrows]
     92  attribute DOMString? ariaKeyShortcuts;
     93 
     94  [CEReactions, SetterThrows]
     95  attribute DOMString? ariaLabel;
     96 
     97  // TODO: Use FrozenArray once available. (Bug 1236777)
     98  [Pref="accessibility.ARIAElementReflection.enabled", Frozen, ReflectedHTMLAttributeReturningFrozenArray]
     99  attribute sequence<Element>? ariaLabelledByElements;
    100 
    101  [CEReactions, SetterThrows]
    102  attribute DOMString? ariaLevel;
    103 
    104  [CEReactions, SetterThrows]
    105  attribute DOMString? ariaLive;
    106 
    107  [CEReactions, SetterThrows]
    108  attribute DOMString? ariaModal;
    109 
    110  [CEReactions, SetterThrows]
    111  attribute DOMString? ariaMultiLine;
    112 
    113  [CEReactions, SetterThrows]
    114  attribute DOMString? ariaMultiSelectable;
    115 
    116  [CEReactions, SetterThrows]
    117  attribute DOMString? ariaOrientation;
    118 
    119  // TODO: Use FrozenArray once available. (Bug 1236777)
    120  [Pref="accessibility.ARIAElementReflection.enabled", Frozen, ReflectedHTMLAttributeReturningFrozenArray]
    121  attribute sequence<Element>? ariaOwnsElements;
    122 
    123  [CEReactions, SetterThrows]
    124  attribute DOMString? ariaPlaceholder;
    125 
    126  [CEReactions, SetterThrows]
    127  attribute DOMString? ariaPosInSet;
    128 
    129  [CEReactions, SetterThrows]
    130  attribute DOMString? ariaPressed;
    131 
    132  [CEReactions, SetterThrows]
    133  attribute DOMString? ariaReadOnly;
    134 
    135  [CEReactions, SetterThrows]
    136  attribute DOMString? ariaRelevant;
    137 
    138  [CEReactions, SetterThrows]
    139  attribute DOMString? ariaRequired;
    140 
    141  [CEReactions, SetterThrows]
    142  attribute DOMString? ariaRoleDescription;
    143 
    144  [CEReactions, SetterThrows]
    145  attribute DOMString? ariaRowCount;
    146 
    147  [CEReactions, SetterThrows]
    148  attribute DOMString? ariaRowIndex;
    149 
    150  [CEReactions, SetterThrows]
    151  attribute DOMString? ariaRowIndexText;
    152 
    153  [CEReactions, SetterThrows]
    154  attribute DOMString? ariaRowSpan;
    155 
    156  [CEReactions, SetterThrows]
    157  attribute DOMString? ariaSelected;
    158 
    159  [CEReactions, SetterThrows]
    160  attribute DOMString? ariaSetSize;
    161 
    162  [CEReactions, SetterThrows]
    163  attribute DOMString? ariaSort;
    164 
    165  [CEReactions, SetterThrows]
    166  attribute DOMString? ariaValueMax;
    167 
    168  [CEReactions, SetterThrows]
    169  attribute DOMString? ariaValueMin;
    170 
    171  [CEReactions, SetterThrows]
    172  attribute DOMString? ariaValueNow;
    173 
    174  [CEReactions, SetterThrows]
    175  attribute DOMString? ariaValueText;
    176 };