accessible/public/nsIAccessibleRole.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /* -*- Mode: C++; 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
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #include "nsISupports.idl"
     8 /**
     9  * Defines cross platform (Gecko) roles.
    10  */
    11 [scriptable, uuid(50db5e86-9a45-4637-a5c3-4ff148c33270)]
    12 interface nsIAccessibleRole : nsISupports
    13 {
    14   /**
    15    * Used when accessible hans't strong defined role.
    16    */
    17   const unsigned long ROLE_NOTHING = 0;
    19   /**
    20    * Represents a title or caption bar for a window. It is used by MSAA only,
    21    * supported automatically by MS Windows.
    22    */
    23   const unsigned long ROLE_TITLEBAR = 1;
    25   /**
    26    * Represents the menu bar (positioned beneath the title bar of a window)
    27    * from which menus are selected by the user. The role is used by
    28    * xul:menubar or role="menubar".
    29    */
    30   const unsigned long ROLE_MENUBAR = 2;
    32   /**
    33    * Represents a vertical or horizontal scroll bar, which is part of the client
    34    * area or used in a control.
    35    */
    36   const unsigned long ROLE_SCROLLBAR = 3;
    38   /**
    39    * Represents a special mouse pointer, which allows a user to manipulate user
    40    * interface elements such as windows. For example, a user clicks and drags
    41    * a sizing grip in the lower-right corner of a window to resize it.
    42    */
    43   const unsigned long ROLE_GRIP = 4;
    45   /**
    46    * Represents a system sound, which is associated with various system events.
    47    */
    48   const unsigned long ROLE_SOUND = 5;
    50   /**
    51    * Represents the system mouse pointer.
    52    */
    53   const unsigned long ROLE_CURSOR = 6;
    55   /**
    56    * Represents the system caret. The role is supported for caret.
    57    */
    58   const unsigned long ROLE_CARET = 7;
    60   /**
    61    * Represents an alert or a condition that a user should be notified about.
    62    * Assistive Technologies typically respond to the role by reading the entire
    63    * onscreen contents of containers advertising this role. Should be used for
    64    * warning dialogs, etc. The role is used by xul:browsermessage,
    65    * role="alert".
    66    */
    67   const unsigned long ROLE_ALERT = 8;
    69   /**
    70    * Represents the window frame, which contains child objects such as
    71    * a title bar, client, and other objects contained in a window. The role
    72    * is supported automatically by MS Windows.
    73    */
    74   const unsigned long ROLE_WINDOW = 9;
    76   /**
    77    * A sub-document (<frame> or <iframe>)
    78    */
    79   const unsigned long ROLE_INTERNAL_FRAME = 10;
    81   /**
    82    * Represents a menu, which presents a list of options from which the user can
    83    * make a selection to perform an action. It is used for role="menu".
    84    */
    85   const unsigned long ROLE_MENUPOPUP = 11;
    87   /**
    88    * Represents a menu item, which is an entry in a menu that a user can choose
    89    * to carry out a command, select an option. It is used for xul:menuitem,
    90    * role="menuitem".
    91    */
    92   const unsigned long ROLE_MENUITEM = 12;
    94   /**
    95    * Represents a ToolTip that provides helpful hints.
    96    */
    97   const unsigned long ROLE_TOOLTIP = 13;
    99   /**
   100    * Represents a main window for an application. It is used for
   101    * role="application". Also refer to ROLE_APP_ROOT
   102    */
   103   const unsigned long ROLE_APPLICATION = 14;
   105   /**
   106    * Represents a document window. A document window is always contained within
   107    * an application window. It is used for role="document".
   108    */
   109   const unsigned long ROLE_DOCUMENT = 15;
   111   /**
   112    * Represents a pane within a frame or document window. Users can navigate
   113    * between panes and within the contents of the current pane, but cannot
   114    * navigate between items in different panes. Thus, panes represent a level
   115    * of grouping lower than frame windows or documents, but above individual
   116    * controls. It is used for the first child of a <frame> or <iframe>.
   117    */
   118   const unsigned long ROLE_PANE = 16;
   120   /**
   121    * Represents a graphical image used to represent data.
   122    */
   123   const unsigned long ROLE_CHART = 17;
   125   /**
   126    * Represents a dialog box or message box. It is used for xul:dialog, 
   127    * role="dialog".
   128    */
   129   const unsigned long ROLE_DIALOG = 18;
   131   /**
   132    * Represents a window border.
   133    */
   134   const unsigned long ROLE_BORDER = 19;
   136   /**
   137    * Logically groups other objects. There is not always a parent-child
   138    * relationship between the grouping object and the objects it contains. It
   139    * is used for html:textfield, xul:groupbox, role="group".
   140    */
   141   const unsigned long ROLE_GROUPING = 20;
   143   /**
   144    * Used to visually divide a space into two regions, such as a separator menu
   145    * item or a bar that divides split panes within a window. It is used for
   146    * xul:separator, html:hr, role="separator".
   147    */
   148   const unsigned long ROLE_SEPARATOR = 21;
   150   /**
   151    * Represents a toolbar, which is a grouping of controls (push buttons or
   152    * toggle buttons) that provides easy access to frequently used features. It
   153    * is used for xul:toolbar, role="toolbar".
   154    */
   155   const unsigned long ROLE_TOOLBAR = 22;
   157   /**
   158    * Represents a status bar, which is an area at the bottom of a window that
   159    * displays information about the current operation, state of the application,
   160    * or selected object. The status bar has multiple fields, which display
   161    * different kinds of information. It is used for xul:statusbar.
   162    */
   163   const unsigned long ROLE_STATUSBAR = 23;
   165   /**
   166    * Represents a table that contains rows and columns of cells, and optionally,
   167    * row headers and column headers. It is used for html:table,
   168    * role="grid". Also refer to the following roles: ROLE_COLUMNHEADER,
   169    * ROLE_ROWHEADER, ROLE_COLUMN, ROLE_ROW, ROLE_CELL.
   170    */
   171   const unsigned long ROLE_TABLE = 24;
   173   /**
   174    * Represents a column header, providing a visual label for a column in
   175    * a table. It is used for XUL tree column headers, html:th,
   176    * role="colheader". Also refer to ROLE_TABLE.
   177    */
   178   const unsigned long ROLE_COLUMNHEADER = 25;
   180   /**
   181    * Represents a row header, which provides a visual label for a table row.
   182    * It is used for role="rowheader". Also, see ROLE_TABLE.
   183    */
   184   const unsigned long ROLE_ROWHEADER = 26;
   186   /**
   187    * Represents a column of cells within a table. Also, see ROLE_TABLE.
   188    */
   189   const unsigned long ROLE_COLUMN = 27;
   191   /**
   192    * Represents a row of cells within a table. Also, see ROLE_TABLE.
   193    */
   194   const unsigned long ROLE_ROW = 28;
   196   /**
   197    * Represents a cell within a table. It is used for html:td,
   198    * xul:tree cell and xul:listcell. Also, see ROLE_TABLE.
   199    */
   200   const unsigned long ROLE_CELL = 29;
   202   /**
   203    * Represents a link to something else. This object might look like text or
   204    * a graphic, but it acts like a button. It is used for
   205    * xul:label@class="text-link", html:a, html:area.
   206    */
   207   const unsigned long ROLE_LINK = 30;
   209   /**
   210    * Displays a Help topic in the form of a ToolTip or Help balloon.
   211    */
   212   const unsigned long ROLE_HELPBALLOON = 31;
   214   /**
   215    * Represents a cartoon-like graphic object, such as Microsoft Office
   216    * Assistant, which is displayed to provide help to users of an application.
   217    */
   218   const unsigned long ROLE_CHARACTER = 32;
   220   /**
   221    * Represents a list box, allowing the user to select one or more items. It
   222    * is used for xul:listbox, html:select@size, role="list". See also
   223    * ROLE_LIST_ITEM.
   224    */
   225   const unsigned long ROLE_LIST = 33;
   227   /**
   228    * Represents an item in a list. See also ROLE_LIST.
   229    */
   230   const unsigned long ROLE_LISTITEM = 34;
   232   /**
   233    * Represents an outline or tree structure, such as a tree view control,
   234    * that displays a hierarchical list and allows the user to expand and
   235    * collapse branches. Is is used for role="tree".
   236    */
   237   const unsigned long ROLE_OUTLINE = 35;
   239   /**
   240    * Represents an item in an outline or tree structure. It is used for
   241    * role="treeitem".
   242    */
   243   const unsigned long ROLE_OUTLINEITEM = 36;
   245   /**
   246    * Represents a page tab, it is a child of a page tab list. It is used for
   247    * xul:tab, role="treeitem". Also refer to ROLE_PAGETABLIST.
   248    */
   249   const unsigned long ROLE_PAGETAB = 37;
   251   /**
   252    * Represents a property sheet. It is used for xul:tabpanel,
   253    * role="tabpanel".
   254    */
   255   const unsigned long ROLE_PROPERTYPAGE = 38;
   257   /**
   258    * Represents an indicator, such as a pointer graphic, that points to the
   259    * current item.
   260    */
   261   const unsigned long ROLE_INDICATOR = 39;
   263   /**
   264    * Represents a picture. Is is used for xul:image, html:img.
   265    */
   266   const unsigned long ROLE_GRAPHIC = 40;
   268   /**
   269    * Represents read-only text, such as labels for other controls or
   270    * instructions in a dialog box. Static text cannot be modified or selected.
   271    * Is is used for xul:label, xul:description, html:label, role="label".
   272    */
   273   const unsigned long ROLE_STATICTEXT = 41;
   275   /**
   276    * Represents selectable text that allows edits or is designated read-only.
   277    */
   278   const unsigned long ROLE_TEXT_LEAF = 42;
   280   /**
   281    * Represents a push button control. It is used for xul:button, html:button,
   282    * role="button".
   283    */
   284   const unsigned long ROLE_PUSHBUTTON = 43;
   286   /**
   287    * Represents a check box control. It is used for xul:checkbox,
   288    * html:input@type="checkbox", role="checkbox".
   289    */
   290   const unsigned long ROLE_CHECKBUTTON = 44;
   292   /**
   293    * Represents an option button, also called a radio button. It is one of a
   294    * group of mutually exclusive options. All objects sharing a single parent
   295    * that have this attribute are assumed to be part of single mutually
   296    * exclusive group. It is used for xul:radio, html:input@type="radio",
   297    * role="radio".
   298    */
   299   const unsigned long ROLE_RADIOBUTTON = 45;
   301   /**
   302    * Represents a combo box; an edit control with an associated list box that
   303    * provides a set of predefined choices. It is used for html:select,
   304    * xul:menulist, role="combobox".
   305    */
   306   const unsigned long ROLE_COMBOBOX = 46;
   308   /**
   309    * Represents the calendar control.
   310    */
   311   const unsigned long ROLE_DROPLIST = 47;
   313   /**
   314    * Represents a progress bar, dynamically showing the user the percent
   315    * complete of an operation in progress. It is used for xul:progressmeter,
   316    * role="progressbar".
   317    */
   318   const unsigned long ROLE_PROGRESSBAR = 48;
   320   /**
   321    * Represents a dial or knob whose purpose is to allow a user to set a value.
   322    */
   323   const unsigned long ROLE_DIAL = 49;
   325   /**
   326    * Represents a hot-key field that allows the user to enter a combination or
   327    * sequence of keystrokes.
   328    */
   329   const unsigned long ROLE_HOTKEYFIELD = 50;
   331   /**
   332    * Represents a slider, which allows the user to adjust a setting in given
   333    * increments between minimum and maximum values. It is used by xul:scale,
   334    * role="slider".
   335    */
   336   const unsigned long ROLE_SLIDER = 51;
   338   /**
   339    * Represents a spin box, which is a control that allows the user to increment
   340    * or decrement the value displayed in a separate "buddy" control associated
   341    * with the spin box. It is used for xul:spinbuttons.
   342    */
   343   const unsigned long ROLE_SPINBUTTON = 52;
   345   /**
   346    * Represents a graphical image used to diagram data. It is used for svg:svg.
   347    */
   348   const unsigned long ROLE_DIAGRAM = 53;
   350   /**
   351    * Represents an animation control, which contains content that changes over
   352    * time, such as a control that displays a series of bitmap frames.
   353    */
   354   const unsigned long ROLE_ANIMATION = 54;
   356   /**
   357    * Represents a mathematical equation. It is used by MATHML, where there is a
   358    * rich DOM subtree for an equation. Use ROLE_FLAT_EQUATION for <img role="math" alt="[TeX]"/>
   359    */
   360   const unsigned long ROLE_EQUATION = 55;
   362   /**
   363    * Represents a button that drops down a list of items.
   364    */
   365   const unsigned long ROLE_BUTTONDROPDOWN = 56;
   367   /**
   368    * Represents a button that drops down a menu.
   369    */
   370   const unsigned long ROLE_BUTTONMENU = 57;
   372   /**
   373    * Represents a button that drops down a grid. It is used for xul:colorpicker.
   374    */
   375   const unsigned long ROLE_BUTTONDROPDOWNGRID = 58;
   377   /**
   378    * Represents blank space between other objects.
   379    */
   380   const unsigned long ROLE_WHITESPACE = 59;
   382   /**
   383    * Represents a container of page tab controls. Is it used for xul:tabs,
   384    * DHTML: role="tabs". Also refer to ROLE_PAGETAB.
   385    */
   386   const unsigned long ROLE_PAGETABLIST = 60;
   388   /**
   389    * Represents a control that displays time.
   390    */
   391   const unsigned long ROLE_CLOCK = 61;
   393   /**
   394    * Represents a button on a toolbar that has a drop-down list icon directly
   395    * adjacent to the button.
   396    */
   397   const unsigned long ROLE_SPLITBUTTON = 62;
   399   /**
   400    * Represents an edit control designed for an Internet Protocol (IP) address.
   401    * The edit control is divided into sections for the different parts of the
   402    * IP address.
   403    */
   404   const unsigned long ROLE_IPADDRESS = 63;
   406   /**
   407    * Represents a label control that has an accelerator.
   408    */
   409   const unsigned long ROLE_ACCEL_LABEL = 64;
   411   /**
   412    * Represents an arrow in one of the four cardinal directions.
   413    */
   414   const unsigned long ROLE_ARROW  = 65;
   416   /**
   417    * Represents a control that can be drawn into and is used to trap events.
   418    * It is used for html:canvas.
   419    */
   420   const unsigned long ROLE_CANVAS = 66;
   422   /**
   423    * Represents a menu item with a check box.
   424    */
   425   const unsigned long ROLE_CHECK_MENU_ITEM = 67;
   427   /**
   428    * Represents a specialized dialog that lets the user choose a color.
   429    */
   430   const unsigned long ROLE_COLOR_CHOOSER  = 68;
   432   /**
   433    * Represents control whose purpose is to allow a user to edit a date.
   434    */
   435   const unsigned long ROLE_DATE_EDITOR = 69;
   437   /**
   438    * An iconified internal frame in an ROLE_DESKTOP_PANE. Also refer to
   439    * ROLE_INTERNAL_FRAME.
   440    */
   441   const unsigned long ROLE_DESKTOP_ICON = 70;
   443   /**
   444    * A desktop pane. A pane that supports internal frames and iconified
   445    * versions of those internal frames.
   446    */
   447   const unsigned long ROLE_DESKTOP_FRAME = 71;
   449   /**
   450    * A directory pane. A pane that allows the user to navigate through
   451    * and select the contents of a directory. May be used by a file chooser.
   452    * Also refer to ROLE_FILE_CHOOSER.
   453    */
   454   const unsigned long ROLE_DIRECTORY_PANE = 72;
   456   /**
   457    * A file chooser. A specialized dialog that displays the files in the
   458    * directory and lets the user select a file, browse a different directory,
   459    * or specify a filename. May use the directory pane to show the contents of
   460    * a directory. Also refer to ROLE_DIRECTORY_PANE.
   461    */
   462   const unsigned long ROLE_FILE_CHOOSER = 73;
   464   /**
   465    * A font chooser. A font chooser is a component that lets the user pick
   466    * various attributes for fonts.
   467    */
   468   const unsigned long ROLE_FONT_CHOOSER = 74;
   470   /**
   471    * Frame role. A top level window with a title bar, border, menu bar, etc.
   472    * It is often used as the primary window for an application.
   473    */
   474   const unsigned long ROLE_CHROME_WINDOW = 75;
   476   /**
   477    *  A glass pane. A pane that is guaranteed to be painted on top of all
   478    * panes beneath it. Also refer to ROLE_ROOT_PANE.
   479    */
   480   const unsigned long ROLE_GLASS_PANE = 76;
   482   /**
   483    * A document container for HTML, whose children represent the document
   484    * content.
   485    */
   486   const unsigned long ROLE_HTML_CONTAINER = 77;
   488   /**
   489    * A small fixed size picture, typically used to decorate components.
   490    */
   491   const unsigned long ROLE_ICON = 78;
   493   /**
   494    * Presents an icon or short string in an interface.
   495    */
   496   const unsigned long ROLE_LABEL = 79;
   498   /**
   499    * A layered pane. A specialized pane that allows its children to be drawn
   500    * in layers, providing a form of stacking order. This is usually the pane
   501    * that holds the menu bar as  well as the pane that contains most of the
   502    * visual components in a window. Also refer to ROLE_GLASS_PANE and
   503    * ROLE_ROOT_PANE.
   504    */
   505   const unsigned long ROLE_LAYERED_PANE = 80;
   507   /**
   508    * A specialized pane whose primary use is inside a dialog.
   509    */
   510   const unsigned long ROLE_OPTION_PANE = 81;
   512   /**
   513    * A text object uses for passwords, or other places where the text content
   514    * is not shown visibly to the user.
   515    */
   516   const unsigned long ROLE_PASSWORD_TEXT = 82;
   518   /**
   519    * A temporary window that is usually used to offer the user a list of
   520    * choices, and then hides when the user selects one of those choices.
   521    */
   522   const unsigned long ROLE_POPUP_MENU = 83;
   524   /**
   525    * A radio button that is a menu item.
   526    */
   527   const unsigned long ROLE_RADIO_MENU_ITEM = 84;
   529   /**
   530    * A root pane. A specialized pane that has a glass pane and a layered pane
   531    * as its children. Also refer to ROLE_GLASS_PANE and ROLE_LAYERED_PANE.
   532    */
   533   const unsigned long ROLE_ROOT_PANE = 85;
   535   /**
   536    * A scroll pane. An object that allows a user to incrementally view a large
   537    * amount of information.  Its children can include scroll bars and a
   538    * viewport. Also refer to ROLE_VIEW_PORT.
   539    */
   540   const unsigned long ROLE_SCROLL_PANE = 86;
   542   /**
   543    * A split pane. A specialized panel that presents two other panels at the
   544    * same time. Between the two panels is a divider the user can manipulate to
   545    * make one panel larger and the other panel smaller.
   546    */
   547   const unsigned long ROLE_SPLIT_PANE = 87;
   549   /**
   550    * The header for a column of a table.
   551    * XXX: it looks this role is dupe of ROLE_COLUMNHEADER.
   552    */
   553   const unsigned long ROLE_TABLE_COLUMN_HEADER = 88;
   555   /**
   556    * The header for a row of a table.
   557    * XXX: it looks this role is dupe of ROLE_ROWHEADER
   558    */
   559   const unsigned long ROLE_TABLE_ROW_HEADER = 89;
   561   /**
   562    * A menu item used to tear off and reattach its menu.
   563    */
   564   const unsigned long ROLE_TEAR_OFF_MENU_ITEM = 90;
   566   /**
   567    * Represents an accessible terminal.
   568    */
   569   const unsigned long ROLE_TERMINAL = 91;
   571   /**
   572    * Collection of objects that constitute a logical text entity.
   573    */
   574   const unsigned long ROLE_TEXT_CONTAINER = 92;
   576   /**
   577    * A toggle button. A specialized push button that can be checked or
   578    * unchecked, but does not provide a separate indicator for the current state.
   579    */
   580   const unsigned long ROLE_TOGGLE_BUTTON = 93;
   582   /**
   583    * Representas a control that is capable of expanding and collapsing rows as
   584    * well as showing multiple columns of data.
   585    * XXX: it looks like this role is dupe of ROLE_OUTLINE.
   586    */
   587   const unsigned long ROLE_TREE_TABLE = 94;
   589   /**
   590    * A viewport. An object usually used in a scroll pane. It represents the
   591    * portion of the entire data that the user can see. As the user manipulates
   592    * the scroll bars, the contents of the viewport can change. Also refer to
   593    * ROLE_SCROLL_PANE.
   594    */
   595   const unsigned long ROLE_VIEWPORT = 95;
   597   /**
   598    * Header of a document page. Also refer to ROLE_FOOTER.
   599    */
   600   const unsigned long ROLE_HEADER = 96;
   602   /**
   603    * Footer of a document page. Also refer to ROLE_HEADER.
   604    */
   605   const unsigned long ROLE_FOOTER = 97;
   607   /**
   608    * A paragraph of text.
   609    */
   610   const unsigned long ROLE_PARAGRAPH = 98;
   612   /**
   613    * A ruler such as those used in word processors.
   614    */
   615   const unsigned long ROLE_RULER = 99;
   617   /**
   618    * A text entry having dialog or list containing items for insertion into
   619    * an entry widget, for instance a list of words for completion of a
   620    * text entry. It is used for xul:textbox@autocomplete
   621    */
   622   const unsigned long ROLE_AUTOCOMPLETE = 100;
   624   /**
   625    *  An editable text object in a toolbar.
   626    */
   627   const unsigned long ROLE_EDITBAR = 101;
   629   /**
   630    * An control whose textual content may be entered or modified by the user.
   631    */
   632   const unsigned long ROLE_ENTRY = 102;
   634   /**
   635    * A caption describing another object.
   636    */
   637   const unsigned long ROLE_CAPTION = 103;
   639   /**
   640    * A visual frame or container which contains a view of document content.
   641    * Document frames may occur within another Document instance, in which case
   642    * the second document may be said to be embedded in the containing instance.
   643    * HTML frames are often ROLE_DOCUMENT_FRAME. Either this object, or a
   644    * singleton descendant, should implement the Document interface.
   645    */
   646   const unsigned long ROLE_DOCUMENT_FRAME = 104;
   648   /**
   649    * Heading.
   650    */
   651   const unsigned long ROLE_HEADING = 105;
   653   /**
   654    * An object representing a page of document content.  It is used in documents
   655    * which are accessed by the user on a page by page basis.
   656    */
   657   const unsigned long ROLE_PAGE = 106;
   659   /**
   660    * A container of document content.  An example of the use of this role is to
   661    * represent an html:div.
   662    */
   663   const unsigned long ROLE_SECTION = 107;
   665   /**
   666    * An object which is redundant with another object in the accessible
   667    * hierarchy. ATs typically ignore objects with this role.
   668    */
   669   const unsigned long ROLE_REDUNDANT_OBJECT = 108;
   671   /**
   672    * A container of form controls. An example of the use of this role is to
   673    * represent an html:form.
   674    */
   675   const unsigned long ROLE_FORM = 109;
   677   /**
   678    * An object which is used to allow input of characters not found on a
   679    * keyboard, such as the input of Chinese characters on a Western keyboard.
   680    */
   681   const unsigned long ROLE_IME = 110;
   683   /**
   684    * XXX: document this.
   685    */
   686   const unsigned long ROLE_APP_ROOT = 111;
   688   /**
   689    * Represents a menu item, which is an entry in a menu that a user can choose
   690    * to display another menu.
   691    */
   692   const unsigned long ROLE_PARENT_MENUITEM = 112;
   694   /**
   695    * A calendar that allows the user to select a date.
   696    */
   697   const unsigned long ROLE_CALENDAR = 113;
   699   /**
   700    * A list of items that is shown by combobox.
   701    */
   702   const unsigned long ROLE_COMBOBOX_LIST = 114;
   704   /**
   705    * A item of list that is shown by combobox;
   706    */
   707   const unsigned long ROLE_COMBOBOX_OPTION = 115;
   709   /**
   710    * An image map -- has child links representing the areas
   711    */
   712   const unsigned long ROLE_IMAGE_MAP = 116;
   714   /**
   715    * An option in a listbox
   716    */
   717   const unsigned long ROLE_OPTION = 117;
   719   /**
   720    * A rich option in a listbox, it can have other widgets as children
   721    */
   722   const unsigned long ROLE_RICH_OPTION = 118;
   724   /**
   725    * A list of options
   726    */
   727   const unsigned long ROLE_LISTBOX = 119;
   729   /**
   730    * Represents a mathematical equation in the accessible name
   731    */
   732   const unsigned long ROLE_FLAT_EQUATION = 120;
   734   /**
   735    * Represents a cell within a grid. It is used for role="gridcell". Unlike
   736    * ROLE_CELL, it allows the calculation of the accessible name from subtree.
   737    * Also, see ROLE_TABLE.
   738    */
   739   const unsigned long ROLE_GRID_CELL = 121;
   741   /**
   742    * Represents an embedded object. It is used for html:object or html:embed.
   743    */
   744   const unsigned long ROLE_EMBEDDED_OBJECT = 122;
   746   /**
   747    * A note. Originally intended to be hidden until activated, but now also used
   748    * for things like html 'aside'.
   749    */
   750   const unsigned long ROLE_NOTE = 123;
   752   /**
   753    * A figure. Used for things like HTML5 figure element.
   754    */
   755   const unsigned long ROLE_FIGURE = 124;
   757   /**
   758    * Represents a rich item with a check box.
   759    */
   760   const unsigned long ROLE_CHECK_RICH_OPTION = 125;
   762   /**
   763    * An HTML definition list <dl>
   764    */
   765   const unsigned long ROLE_DEFINITION_LIST = 126;
   767   /**
   768    * An HTML definition term <dt>
   769    */
   770   const unsigned long ROLE_TERM = 127;
   772   /**
   773    * An HTML definition <dd>
   774    */
   775   const unsigned long ROLE_DEFINITION = 128;
   777   /**
   778    * A keyboard or keypad key.
   779    */
   780   const unsigned long ROLE_KEY = 129;
   781 };

mercurial