nsIAccessibleRole.idl 27 KB

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