nsIAccessibleRole.idl (22945B)
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 6 #include "nsISupports.idl" 7 8 /** 9 * Defines cross platform (Gecko) roles. 10 */ 11 [scriptable, builtinclass, uuid(ad7f32a5-6d5f-4154-a5b8-0fa7aed48936)] 12 interface nsIAccessibleRole : nsISupports 13 { 14 /** 15 * Used when the accessible has no strongly-defined role. 16 */ 17 const unsigned long ROLE_NOTHING = 0; 18 19 /** 20 * Represents the menu bar (positioned beneath the title bar of a window) 21 * from which menus are selected by the user. The role is used by 22 * xul:menubar or role="menubar". 23 */ 24 const unsigned long ROLE_MENUBAR = 1; 25 26 /** 27 * Represents a vertical or horizontal scroll bar, which is part of the client 28 * area or used in a control. 29 */ 30 const unsigned long ROLE_SCROLLBAR = 2; 31 32 /** 33 * Represents an alert or a condition that a user should be notified about. 34 * Assistive Technologies typically respond to the role by reading the entire 35 * onscreen contents of containers advertising this role. Should be used for 36 * warning dialogs, etc. The role is used by xul:browsermessage, 37 * role="alert". 38 */ 39 const unsigned long ROLE_ALERT = 3; 40 41 /** 42 * A sub-document (<frame> or <iframe>) 43 */ 44 const unsigned long ROLE_INTERNAL_FRAME = 4; 45 46 /** 47 * Represents a menu, which presents a list of options from which the user can 48 * make a selection to perform an action. It is used for role="menu". 49 */ 50 const unsigned long ROLE_MENUPOPUP = 5; 51 52 /** 53 * Represents a menu item, which is an entry in a menu that a user can choose 54 * to carry out a command, select an option. It is used for xul:menuitem, 55 * role="menuitem". 56 */ 57 const unsigned long ROLE_MENUITEM = 6; 58 59 /** 60 * Represents a ToolTip that provides helpful hints. 61 */ 62 const unsigned long ROLE_TOOLTIP = 7; 63 64 /** 65 * Represents a main window for an application. It is used for 66 * role="application". Also refer to ROLE_APP_ROOT 67 */ 68 const unsigned long ROLE_APPLICATION = 8; 69 70 /** 71 * Represents a document window. A document window is always contained within 72 * an application window. For role="document", see NON_NATIVE_DOCUMENT. 73 */ 74 const unsigned long ROLE_DOCUMENT = 9; 75 76 /** 77 * Represents a pane within a frame or document window. Users can navigate 78 * between panes and within the contents of the current pane, but cannot 79 * navigate between items in different panes. Thus, panes represent a level 80 * of grouping lower than frame windows or documents, but above individual 81 * controls. It is used for the first child of a <frame> or <iframe>. 82 */ 83 const unsigned long ROLE_PANE = 10; 84 85 /** 86 * Represents a dialog box or message box. It is used for xul:dialog, 87 * role="dialog". 88 */ 89 const unsigned long ROLE_DIALOG = 11; 90 91 /** 92 * Logically groups other objects. There is not always a parent-child 93 * relationship between the grouping object and the objects it contains. It 94 * is used for html:textfield, xul:groupbox, role="group". 95 */ 96 const unsigned long ROLE_GROUPING = 12; 97 98 /** 99 * Used to visually divide a space into two regions, such as a separator menu 100 * item or a bar that divides split panes within a window. It is used for 101 * xul:separator, html:hr, role="separator". 102 */ 103 const unsigned long ROLE_SEPARATOR = 13; 104 105 /** 106 * Represents a toolbar, which is a grouping of controls (push buttons or 107 * toggle buttons) that provides easy access to frequently used features. It 108 * is used for xul:toolbar, role="toolbar". 109 */ 110 const unsigned long ROLE_TOOLBAR = 14; 111 112 /** 113 * Represents a status bar, which is an area at the bottom of a window that 114 * displays information about the current operation, state of the application, 115 * or selected object. The status bar has multiple fields, which display 116 * different kinds of information. It is used for xul:statusbar. 117 */ 118 const unsigned long ROLE_STATUSBAR = 15; 119 120 /** 121 * Represents a table that contains rows and columns of cells, and optionally, 122 * row headers and column headers. It is used for html:table, 123 * role="grid". Also refer to the following roles: ROLE_COLUMNHEADER, 124 * ROLE_ROWHEADER, ROLE_ROW, ROLE_CELL. 125 */ 126 const unsigned long ROLE_TABLE = 16; 127 128 /** 129 * Represents a column header, providing a visual label for a column in 130 * a table. It is used for XUL tree column headers, html:th, 131 * role="colheader". Also refer to ROLE_TABLE. 132 */ 133 const unsigned long ROLE_COLUMNHEADER = 17; 134 135 /** 136 * Represents a row header, which provides a visual label for a table row. 137 * It is used for role="rowheader". Also, see ROLE_TABLE. 138 */ 139 const unsigned long ROLE_ROWHEADER = 18; 140 141 /** 142 * Represents a row of cells within a table. Also, see ROLE_TABLE. 143 */ 144 const unsigned long ROLE_ROW = 19; 145 146 /** 147 * Represents a cell within a table. It is used for html:td and xul:tree cell. 148 * Also, see ROLE_TABLE. 149 */ 150 const unsigned long ROLE_CELL = 20; 151 152 /** 153 * Represents a link to something else. This object might look like text or 154 * a graphic, but it acts like a button. It is used for 155 * xul:label@class="text-link", html:a, html:area. 156 */ 157 const unsigned long ROLE_LINK = 21; 158 159 /** 160 * Represents a list box, allowing the user to select one or more items. It 161 * is used for xul:listbox, html:select@size, role="list". See also 162 * ROLE_LIST_ITEM. 163 */ 164 const unsigned long ROLE_LIST = 22; 165 166 /** 167 * Represents an item in a list. See also ROLE_LIST. 168 */ 169 const unsigned long ROLE_LISTITEM = 23; 170 171 /** 172 * Represents an outline or tree structure, such as a tree view control, 173 * that displays a hierarchical list and allows the user to expand and 174 * collapse branches. Is is used for role="tree". 175 */ 176 const unsigned long ROLE_OUTLINE = 24; 177 178 /** 179 * Represents an item in an outline or tree structure. It is used for 180 * role="treeitem". 181 */ 182 const unsigned long ROLE_OUTLINEITEM = 25; 183 184 /** 185 * Represents a page tab, it is a child of a page tab list. It is used for 186 * xul:tab, role="treeitem". Also refer to ROLE_PAGETABLIST. 187 */ 188 const unsigned long ROLE_PAGETAB = 26; 189 190 /** 191 * Represents a property sheet. It is used for xul:tabpanel, 192 * role="tabpanel". 193 */ 194 const unsigned long ROLE_PROPERTYPAGE = 27; 195 196 /** 197 * Represents a picture. Is is used for xul:image, html:img. 198 */ 199 const unsigned long ROLE_GRAPHIC = 28; 200 201 /** 202 * Represents read-only text, such as labels for other controls or 203 * instructions in a dialog box. Static text cannot be modified or selected. 204 * Is is used for xul:label, xul:description, html:label, role="label". 205 */ 206 const unsigned long ROLE_STATICTEXT = 29; 207 208 /** 209 * Represents selectable text that allows edits or is designated read-only. 210 */ 211 const unsigned long ROLE_TEXT_LEAF = 30; 212 213 /** 214 * Represents a push button control. It is used for xul:button, html:button, 215 * role="button". 216 */ 217 const unsigned long ROLE_PUSHBUTTON = 31; 218 219 /** 220 * Represents a check box control. It is used for xul:checkbox, 221 * html:input@type="checkbox", role="checkbox". 222 */ 223 const unsigned long ROLE_CHECKBUTTON = 32; 224 225 /** 226 * Represents an option button, also called a radio button. It is one of a 227 * group of mutually exclusive options. All objects sharing a single parent 228 * that have this attribute are assumed to be part of single mutually 229 * exclusive group. It is used for xul:radio, html:input@type="radio", 230 * role="radio". 231 */ 232 const unsigned long ROLE_RADIOBUTTON = 33; 233 234 /** 235 * Represents a combo box; a popup button with an associated list box that 236 * provides a set of predefined choices. It is used for html:select with a 237 * size of 1 and xul:menulist. See also ROLE_EDITCOMBOBOX. 238 */ 239 const unsigned long ROLE_COMBOBOX = 34; 240 241 /** 242 * Represents a progress bar, dynamically showing the user the percent 243 * complete of an operation in progress. It is used for html:progress, 244 * role="progressbar". 245 */ 246 const unsigned long ROLE_PROGRESSBAR = 35; 247 248 /** 249 * Represents a slider, which allows the user to adjust a setting in given 250 * increments between minimum and maximum values. It is used by xul:scale, 251 * role="slider". 252 */ 253 const unsigned long ROLE_SLIDER = 36; 254 255 /** 256 * Represents a spin box, which is a control that allows the user to increment 257 * or decrement the value displayed in a separate "buddy" control associated 258 * with the spin box. It is used for input[type=number] spin buttons. 259 */ 260 const unsigned long ROLE_SPINBUTTON = 37; 261 262 /** 263 * Represents a graphical image used to diagram data. It is used for svg:svg. 264 */ 265 const unsigned long ROLE_DIAGRAM = 38; 266 267 /** 268 * Represents an animation control, which contains content that changes over 269 * time, such as a control that displays a series of bitmap frames. 270 */ 271 const unsigned long ROLE_ANIMATION = 39; 272 273 /** 274 * Represents a button that drops down a list of items. 275 */ 276 const unsigned long ROLE_BUTTONDROPDOWN = 40; 277 278 /** 279 * Represents a button that drops down a menu. 280 */ 281 const unsigned long ROLE_BUTTONMENU = 41; 282 283 /** 284 * Represents blank space between other objects. 285 */ 286 const unsigned long ROLE_WHITESPACE = 42; 287 288 /** 289 * Represents a container of page tab controls. Is it used for xul:tabs, 290 * DHTML: role="tabs". Also refer to ROLE_PAGETAB. 291 */ 292 const unsigned long ROLE_PAGETABLIST = 43; 293 294 /** 295 * Represents a control that can be drawn into and is used to trap events. 296 * It is used for html:canvas. 297 */ 298 const unsigned long ROLE_CANVAS = 44; 299 300 /** 301 * Represents a menu item with a check box. 302 */ 303 const unsigned long ROLE_CHECK_MENU_ITEM = 45; 304 305 /** 306 * Represents control whose purpose is to allow a user to edit a date. 307 */ 308 const unsigned long ROLE_DATE_EDITOR = 46; 309 310 /** 311 * Frame role. A top level window with a title bar, border, menu bar, etc. 312 * It is often used as the primary window for an application. 313 */ 314 const unsigned long ROLE_CHROME_WINDOW = 47; 315 316 /** 317 * Presents an icon or short string in an interface. 318 */ 319 const unsigned long ROLE_LABEL = 48; 320 321 /** 322 * A text object uses for passwords, or other places where the text content 323 * is not shown visibly to the user. 324 */ 325 const unsigned long ROLE_PASSWORD_TEXT = 49; 326 327 /** 328 * A radio button that is a menu item. 329 */ 330 const unsigned long ROLE_RADIO_MENU_ITEM = 50; 331 332 /** 333 * Collection of objects that constitute a logical text entity. 334 */ 335 const unsigned long ROLE_TEXT_CONTAINER = 51; 336 337 /** 338 * A toggle button. A specialized push button that can be checked or 339 * unchecked, but does not provide a separate indicator for the current state. 340 */ 341 const unsigned long ROLE_TOGGLE_BUTTON = 52; 342 343 /** 344 * Representas a control that is capable of expanding and collapsing rows as 345 * well as showing multiple columns of data. 346 * XXX: it looks like this role is dupe of ROLE_OUTLINE. 347 */ 348 const unsigned long ROLE_TREE_TABLE = 53; 349 350 /** 351 * A paragraph of text. 352 */ 353 const unsigned long ROLE_PARAGRAPH = 54; 354 355 /** 356 * An control whose textual content may be entered or modified by the user. 357 */ 358 const unsigned long ROLE_ENTRY = 55; 359 360 /** 361 * A caption describing another object. 362 */ 363 const unsigned long ROLE_CAPTION = 56; 364 365 /** 366 * An element containing content that assistive technology users may want to 367 * browse in a reading mode, rather than a focus/interactive/application mode. 368 * This role is used for role="document". For the container which holds the 369 * content of a web page, see ROLE_DOCUMENT. 370 */ 371 const unsigned long ROLE_NON_NATIVE_DOCUMENT = 57; 372 373 /** 374 * Heading. 375 */ 376 const unsigned long ROLE_HEADING = 58; 377 378 /** 379 * A container of document content. An example of the use of this role is to 380 * represent an html:div. 381 */ 382 const unsigned long ROLE_SECTION = 59; 383 384 /** 385 * A container of form controls. An example of the use of this role is to 386 * represent an html:form. 387 */ 388 const unsigned long ROLE_FORM = 60; 389 390 /** 391 * XXX: document this. 392 */ 393 const unsigned long ROLE_APP_ROOT = 61; 394 395 /** 396 * Represents a menu item, which is an entry in a menu that a user can choose 397 * to display another menu. 398 */ 399 const unsigned long ROLE_PARENT_MENUITEM = 62; 400 401 /** 402 * A list of items that is shown by combobox. 403 */ 404 const unsigned long ROLE_COMBOBOX_LIST = 63; 405 406 /** 407 * A item of list that is shown by combobox; 408 */ 409 const unsigned long ROLE_COMBOBOX_OPTION = 64; 410 411 /** 412 * An image map -- has child links representing the areas 413 */ 414 const unsigned long ROLE_IMAGE_MAP = 65; 415 416 /** 417 * An option in a listbox 418 */ 419 const unsigned long ROLE_OPTION = 66; 420 421 /** 422 * A rich option in a listbox, it can have other widgets as children 423 */ 424 const unsigned long ROLE_RICH_OPTION = 67; 425 426 /** 427 * A list of options 428 */ 429 const unsigned long ROLE_LISTBOX = 68; 430 431 /** 432 * Represents a mathematical equation in the accessible name 433 */ 434 const unsigned long ROLE_FLAT_EQUATION = 69; 435 436 /** 437 * Represents a cell within a grid. It is used for role="gridcell". Unlike 438 * ROLE_CELL, it allows the calculation of the accessible name from subtree. 439 * Also, see ROLE_TABLE. 440 */ 441 const unsigned long ROLE_GRID_CELL = 70; 442 443 /** 444 * A note. Originally intended to be hidden until activated, but now also used 445 * for things like html 'aside'. 446 */ 447 const unsigned long ROLE_NOTE = 71; 448 449 /** 450 * A figure. Used for things like HTML5 figure element. 451 */ 452 const unsigned long ROLE_FIGURE = 72; 453 454 /** 455 * Represents a rich item with a check box. 456 */ 457 const unsigned long ROLE_CHECK_RICH_OPTION = 73; 458 459 /** 460 * An HTML definition list <dl> 461 */ 462 const unsigned long ROLE_DEFINITION_LIST = 74; 463 464 /** 465 * An HTML definition term <dt> 466 */ 467 const unsigned long ROLE_TERM = 75; 468 469 /** 470 * An HTML definition <dd> 471 */ 472 const unsigned long ROLE_DEFINITION = 76; 473 474 /** 475 * A keyboard or keypad key. 476 */ 477 const unsigned long ROLE_KEY = 77; 478 479 /** 480 * A switch control widget. 481 */ 482 const unsigned long ROLE_SWITCH = 78; 483 484 /** 485 * A block of MathML code (math). 486 */ 487 const unsigned long ROLE_MATHML_MATH = 79; 488 489 /** 490 * A MathML identifier (mi in MathML). 491 */ 492 const unsigned long ROLE_MATHML_IDENTIFIER = 80; 493 494 /** 495 * A MathML number (mn in MathML). 496 */ 497 const unsigned long ROLE_MATHML_NUMBER = 81; 498 499 /** 500 * A MathML operator (mo in MathML). 501 */ 502 const unsigned long ROLE_MATHML_OPERATOR = 82; 503 504 /** 505 * A MathML text (mtext in MathML). 506 */ 507 const unsigned long ROLE_MATHML_TEXT = 83; 508 509 /** 510 * A MathML string literal (ms in MathML). 511 */ 512 const unsigned long ROLE_MATHML_STRING_LITERAL = 84; 513 514 /** 515 * A MathML glyph (mglyph in MathML). 516 */ 517 const unsigned long ROLE_MATHML_GLYPH = 85; 518 519 /** 520 * A MathML row (mrow in MathML). 521 */ 522 const unsigned long ROLE_MATHML_ROW = 86; 523 524 /** 525 * A MathML fraction (mfrac in MathML). 526 */ 527 const unsigned long ROLE_MATHML_FRACTION = 87; 528 529 /** 530 * A MathML square root (msqrt in MathML). 531 */ 532 const unsigned long ROLE_MATHML_SQUARE_ROOT = 88; 533 534 /** 535 * A MathML root (mroot in MathML). 536 */ 537 const unsigned long ROLE_MATHML_ROOT = 89; 538 539 /** 540 * A MathML enclosed element (menclose in MathML). 541 */ 542 const unsigned long ROLE_MATHML_ENCLOSED = 90; 543 544 /** 545 * A MathML styling element (mstyle in MathML). 546 */ 547 const unsigned long ROLE_MATHML_STYLE = 91; 548 549 /** 550 * A MathML subscript (msub in MathML). 551 */ 552 const unsigned long ROLE_MATHML_SUB = 92; 553 554 /** 555 * A MathML superscript (msup in MathML). 556 */ 557 const unsigned long ROLE_MATHML_SUP = 93; 558 559 /** 560 * A MathML subscript and superscript (msubsup in MathML). 561 */ 562 const unsigned long ROLE_MATHML_SUB_SUP = 94; 563 564 /** 565 * A MathML underscript (munder in MathML). 566 */ 567 const unsigned long ROLE_MATHML_UNDER = 95; 568 569 /** 570 * A MathML overscript (mover in MathML). 571 */ 572 const unsigned long ROLE_MATHML_OVER = 96; 573 574 /** 575 * A MathML underscript and overscript (munderover in MathML). 576 */ 577 const unsigned long ROLE_MATHML_UNDER_OVER = 97; 578 579 /** 580 * A MathML multiple subscript and superscript element (mmultiscripts in 581 * MathML). 582 */ 583 const unsigned long ROLE_MATHML_MULTISCRIPTS = 98; 584 585 /** 586 * A MathML table (mtable in MathML). 587 */ 588 const unsigned long ROLE_MATHML_TABLE = 99; 589 590 /** 591 * A MathML labelled table row (mlabeledtr in MathML). 592 */ 593 const unsigned long ROLE_MATHML_LABELED_ROW = 100; 594 595 /** 596 * A MathML table row (mtr in MathML). 597 */ 598 const unsigned long ROLE_MATHML_TABLE_ROW = 101; 599 600 /** 601 * A MathML table entry or cell (mtd in MathML). 602 */ 603 const unsigned long ROLE_MATHML_CELL = 102; 604 605 /** 606 * A MathML interactive element (maction in MathML). 607 */ 608 const unsigned long ROLE_MATHML_ACTION = 103; 609 610 /** 611 * A MathML error message (merror in MathML). 612 */ 613 const unsigned long ROLE_MATHML_ERROR = 104; 614 615 /** 616 * A MathML stacked (rows of numbers) element (mstack in MathML). 617 */ 618 const unsigned long ROLE_MATHML_STACK = 105; 619 620 /** 621 * A MathML long division element (mlongdiv in MathML). 622 */ 623 const unsigned long ROLE_MATHML_LONG_DIVISION = 106; 624 625 /** 626 * A MathML stack group (msgroup in MathML). 627 */ 628 const unsigned long ROLE_MATHML_STACK_GROUP = 107; 629 630 /** 631 * A MathML stack row (msrow in MathML). 632 */ 633 const unsigned long ROLE_MATHML_STACK_ROW = 108; 634 635 /** 636 * MathML carries, borrows, or crossouts for a row (mscarries in MathML). 637 */ 638 const unsigned long ROLE_MATHML_STACK_CARRIES = 109; 639 640 /** 641 * A MathML carry, borrow, or crossout for a column (mscarry in MathML). 642 */ 643 const unsigned long ROLE_MATHML_STACK_CARRY = 110; 644 645 /** 646 * A MathML line in a stack (msline in MathML). 647 */ 648 const unsigned long ROLE_MATHML_STACK_LINE = 111; 649 650 /** 651 * A group containing radio buttons 652 */ 653 const unsigned long ROLE_RADIO_GROUP = 112; 654 655 /** 656 * A text container exposing brief amount of information. See related 657 * TEXT_CONTAINER role. 658 */ 659 const unsigned long ROLE_TEXT = 113; 660 661 /** 662 * A text container exposing brief amount of information. See related 663 * DETAILS role. 664 */ 665 const unsigned long ROLE_DETAILS = 114; 666 667 /** 668 * A text container exposing brief amount of information. See related 669 * SUMMARY role. 670 */ 671 const unsigned long ROLE_SUMMARY = 115; 672 673 /** 674 * An ARIA landmark. See related NAVIGATION role. 675 */ 676 const unsigned long ROLE_LANDMARK = 116; 677 678 /** 679 * A specific type of ARIA landmark. The ability to distinguish navigation 680 * landmarks from other types of landmarks is needed because macOS has a 681 * specific AXSubrole and AXRoleDescription for navigation landmarks. 682 */ 683 const unsigned long ROLE_NAVIGATION = 117; 684 685 /** 686 * An object that contains the text of a footnote. 687 */ 688 const unsigned long ROLE_FOOTNOTE = 118; 689 690 /** 691 * A complete or self-contained composition in a document, page, application, 692 * or site and that is, in principle, independently distributable or reusable, 693 * e.g. in syndication. 694 */ 695 const unsigned long ROLE_ARTICLE = 119; 696 697 /** 698 * A perceivable section containing content that is relevant to a specific, 699 * author-specified purpose and sufficiently important that users will likely 700 * want to be able to navigate to the section easily and to have it listed in 701 * a summary of the page. 702 */ 703 const unsigned long ROLE_REGION = 120; 704 705 /** 706 * Represents a control with a text input and a popup with a set of predefined 707 * choices. It is used for ARIA's combobox role. See also ROLE_COMBOBOX. 708 */ 709 const unsigned long ROLE_EDITCOMBOBOX = 121; 710 711 /** 712 * A section of content that is quoted from another source. 713 */ 714 const unsigned long ROLE_BLOCKQUOTE = 122; 715 716 /** 717 * Content previously deleted or proposed for deletion, e.g. in revision 718 * history or a content view providing suggestions from reviewers. 719 */ 720 const unsigned long ROLE_CONTENT_DELETION = 123; 721 722 /** 723 * Content previously inserted or proposed for insertion, e.g. in revision 724 * history or a content view providing suggestions from reviewers. 725 */ 726 const unsigned long ROLE_CONTENT_INSERTION = 124; 727 728 /** 729 * An html:form element with a label provided by WAI-ARIA. 730 * This may also be used if role="form" with a label should be exposed 731 * differently in the future. 732 */ 733 const unsigned long ROLE_FORM_LANDMARK = 125; 734 735 /** 736 * The html:mark element. 737 * May also be used if WAI-ARIA gets an equivalent role. 738 */ 739 const unsigned long ROLE_MARK = 126; 740 741 /** 742 * The WAI-ARIA suggestion role. 743 */ 744 const unsigned long ROLE_SUGGESTION = 127; 745 746 /** 747 * The WAI-ARIA comment role. 748 */ 749 const unsigned long ROLE_COMMENT = 128; 750 751 /** 752 * A snippet of program code. ATs might want to treat this differently. 753 */ 754 const unsigned long ROLE_CODE = 129; 755 756 /** 757 * Represents control whose purpose is to allow a user to edit a time. 758 */ 759 const unsigned long ROLE_TIME_EDITOR = 130; 760 761 /** 762 * Represents the marker associated with a list item. In unordered lists, 763 * this is a bullet, while in ordered lists this is a number. 764 */ 765 const unsigned long ROLE_LISTITEM_MARKER = 131; 766 767 /** 768 * Essentially, this is a progress bar with a contextually defined 769 * scale, ex. the strength of a password entered in an input. 770 */ 771 const unsigned long ROLE_METER = 132; 772 773 /** 774 * Represents phrasing content that is presented with vertical alignment 775 * lower than the baseline and a smaller font size. For example, the "2" in 776 * the chemical formula H2O. 777 */ 778 const unsigned long ROLE_SUBSCRIPT = 133; 779 780 /** 781 * Represents phrasing content that is presented with vertical alignment 782 * higher than the baseline and a smaller font size. For example, the 783 * exponent in a math expression. 784 */ 785 const unsigned long ROLE_SUPERSCRIPT = 134; 786 787 /** 788 * Represents one or more emphasized characters. Use this role to stress or 789 * emphasize content. 790 */ 791 const unsigned long ROLE_EMPHASIS = 135; 792 793 /** 794 * Represents content that is important, serious, or urgent. 795 */ 796 const unsigned long ROLE_STRONG = 136; 797 798 /** 799 * Represents a specific point in time. 800 */ 801 const unsigned long ROLE_TIME = 137; 802 803 /** 804 * Represents a composite widget containing a collection of one or more rows 805 * with one or more cells where some or all cells in the grid are focusable 806 * by using methods of two-dimensional navigation. 807 */ 808 const unsigned long ROLE_GRID = 138; 809 810 /** 811 * Represents a structure containing one or more row elements in a tabular 812 * container. It is the structural equivalent to the thead, tfoot, and tbody 813 * elements in an HTML table element. 814 */ 815 const unsigned long ROLE_ROWGROUP = 139; 816 817 /** 818 * A type of textbox intended for specifying search criteria. 819 */ 820 const unsigned long ROLE_SEARCHBOX = 140; 821 };