accessible/src/base/RoleMap.h

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

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 /**
michael@0 6 * Usage: declare the macro ROLE()with the following arguments:
michael@0 7 * ROLE(geckoRole, stringRole, atkRole, macRole, msaaRole, ia2Role, nameRule)
michael@0 8 */
michael@0 9
michael@0 10 ROLE(NOTHING,
michael@0 11 "nothing",
michael@0 12 ATK_ROLE_UNKNOWN,
michael@0 13 NSAccessibilityUnknownRole,
michael@0 14 USE_ROLE_STRING,
michael@0 15 IA2_ROLE_UNKNOWN,
michael@0 16 eNameFromSubtreeIfReqRule)
michael@0 17
michael@0 18 ROLE(TITLEBAR,
michael@0 19 "titlebar",
michael@0 20 ATK_ROLE_UNKNOWN,
michael@0 21 NSAccessibilityUnknownRole, //Irrelevant on OS X; windows are always native.
michael@0 22 ROLE_SYSTEM_TITLEBAR,
michael@0 23 ROLE_SYSTEM_TITLEBAR,
michael@0 24 eNoNameRule)
michael@0 25
michael@0 26 ROLE(MENUBAR,
michael@0 27 "menubar",
michael@0 28 ATK_ROLE_MENU_BAR,
michael@0 29 NSAccessibilityMenuBarRole, //Irrelevant on OS X; the menubar will always be native and on the top of the screen.
michael@0 30 ROLE_SYSTEM_MENUBAR,
michael@0 31 ROLE_SYSTEM_MENUBAR,
michael@0 32 eNoNameRule)
michael@0 33
michael@0 34 ROLE(SCROLLBAR,
michael@0 35 "scrollbar",
michael@0 36 ATK_ROLE_SCROLL_BAR,
michael@0 37 NSAccessibilityScrollBarRole, //We might need to make this its own mozAccessible, to support the children objects (valueindicator, down/up buttons).
michael@0 38 ROLE_SYSTEM_SCROLLBAR,
michael@0 39 ROLE_SYSTEM_SCROLLBAR,
michael@0 40 eNameFromValueRule)
michael@0 41
michael@0 42 ROLE(GRIP,
michael@0 43 "grip",
michael@0 44 ATK_ROLE_UNKNOWN,
michael@0 45 NSAccessibilitySplitterRole,
michael@0 46 ROLE_SYSTEM_GRIP,
michael@0 47 ROLE_SYSTEM_GRIP,
michael@0 48 eNoNameRule)
michael@0 49
michael@0 50 ROLE(SOUND,
michael@0 51 "sound",
michael@0 52 ATK_ROLE_UNKNOWN,
michael@0 53 NSAccessibilityUnknownRole, //Unused on OS X.
michael@0 54 ROLE_SYSTEM_SOUND,
michael@0 55 ROLE_SYSTEM_SOUND,
michael@0 56 eNoNameRule)
michael@0 57
michael@0 58 ROLE(CURSOR,
michael@0 59 "cursor",
michael@0 60 ATK_ROLE_UNKNOWN,
michael@0 61 NSAccessibilityUnknownRole, //Unused on OS X.
michael@0 62 ROLE_SYSTEM_CURSOR,
michael@0 63 ROLE_SYSTEM_CURSOR,
michael@0 64 eNoNameRule)
michael@0 65
michael@0 66 ROLE(CARET,
michael@0 67 "caret",
michael@0 68 ATK_ROLE_UNKNOWN,
michael@0 69 NSAccessibilityUnknownRole, //Unused on OS X.
michael@0 70 ROLE_SYSTEM_CARET,
michael@0 71 ROLE_SYSTEM_CARET,
michael@0 72 eNoNameRule)
michael@0 73
michael@0 74 ROLE(ALERT,
michael@0 75 "alert",
michael@0 76 ATK_ROLE_ALERT,
michael@0 77 NSAccessibilityWindowRole,
michael@0 78 ROLE_SYSTEM_ALERT,
michael@0 79 ROLE_SYSTEM_ALERT,
michael@0 80 eNoNameRule)
michael@0 81
michael@0 82 ROLE(WINDOW,
michael@0 83 "window",
michael@0 84 ATK_ROLE_WINDOW,
michael@0 85 NSAccessibilityWindowRole, //Irrelevant on OS X; all window a11y is handled by the system.
michael@0 86 ROLE_SYSTEM_WINDOW,
michael@0 87 ROLE_SYSTEM_WINDOW,
michael@0 88 eNoNameRule)
michael@0 89
michael@0 90 ROLE(INTERNAL_FRAME,
michael@0 91 "internal frame",
michael@0 92 ATK_ROLE_INTERNAL_FRAME,
michael@0 93 NSAccessibilityScrollAreaRole,
michael@0 94 USE_ROLE_STRING,
michael@0 95 IA2_ROLE_INTERNAL_FRAME,
michael@0 96 eNoNameRule)
michael@0 97
michael@0 98 ROLE(MENUPOPUP,
michael@0 99 "menupopup",
michael@0 100 ATK_ROLE_MENU,
michael@0 101 NSAccessibilityMenuRole, //The parent of menuitems.
michael@0 102 ROLE_SYSTEM_MENUPOPUP,
michael@0 103 ROLE_SYSTEM_MENUPOPUP,
michael@0 104 eNoNameRule)
michael@0 105
michael@0 106 ROLE(MENUITEM,
michael@0 107 "menuitem",
michael@0 108 ATK_ROLE_MENU_ITEM,
michael@0 109 NSAccessibilityMenuItemRole,
michael@0 110 ROLE_SYSTEM_MENUITEM,
michael@0 111 ROLE_SYSTEM_MENUITEM,
michael@0 112 eNameFromSubtreeRule)
michael@0 113
michael@0 114 ROLE(TOOLTIP,
michael@0 115 "tooltip",
michael@0 116 ATK_ROLE_TOOL_TIP,
michael@0 117 @"AXHelpTag", //10.4+ only, so we re-define the constant.
michael@0 118 ROLE_SYSTEM_TOOLTIP,
michael@0 119 ROLE_SYSTEM_TOOLTIP,
michael@0 120 eNameFromSubtreeRule)
michael@0 121
michael@0 122 ROLE(APPLICATION,
michael@0 123 "application",
michael@0 124 ATK_ROLE_EMBEDDED,
michael@0 125 NSAccessibilityGroupRole, //Unused on OS X. the system will take care of this.
michael@0 126 ROLE_SYSTEM_APPLICATION,
michael@0 127 ROLE_SYSTEM_APPLICATION,
michael@0 128 eNoNameRule)
michael@0 129
michael@0 130 ROLE(DOCUMENT,
michael@0 131 "document",
michael@0 132 ATK_ROLE_DOCUMENT_FRAME,
michael@0 133 @"AXWebArea",
michael@0 134 ROLE_SYSTEM_DOCUMENT,
michael@0 135 ROLE_SYSTEM_DOCUMENT,
michael@0 136 eNoNameRule)
michael@0 137
michael@0 138 /**
michael@0 139 * msaa comment:
michael@0 140 * We used to map to ROLE_SYSTEM_PANE, but JAWS would
michael@0 141 * not read the accessible name for the contaning pane.
michael@0 142 * However, JAWS will read the accessible name for a groupbox.
michael@0 143 * By mapping a PANE to a GROUPING, we get no undesirable effects,
michael@0 144 * but fortunately JAWS will then read the group's label,
michael@0 145 * when an inner control gets focused.
michael@0 146 */
michael@0 147 ROLE(PANE,
michael@0 148 "pane",
michael@0 149 ATK_ROLE_PANEL,
michael@0 150 NSAccessibilityGroupRole,
michael@0 151 ROLE_SYSTEM_GROUPING,
michael@0 152 ROLE_SYSTEM_GROUPING,
michael@0 153 eNoNameRule)
michael@0 154
michael@0 155 ROLE(CHART,
michael@0 156 "chart",
michael@0 157 ATK_ROLE_CHART,
michael@0 158 NSAccessibilityUnknownRole,
michael@0 159 ROLE_SYSTEM_CHART,
michael@0 160 ROLE_SYSTEM_CHART,
michael@0 161 eNoNameRule)
michael@0 162
michael@0 163 ROLE(DIALOG,
michael@0 164 "dialog",
michael@0 165 ATK_ROLE_DIALOG,
michael@0 166 NSAccessibilityWindowRole, //There's a dialog subrole.
michael@0 167 ROLE_SYSTEM_DIALOG,
michael@0 168 ROLE_SYSTEM_DIALOG,
michael@0 169 eNoNameRule)
michael@0 170
michael@0 171 ROLE(BORDER,
michael@0 172 "border",
michael@0 173 ATK_ROLE_UNKNOWN,
michael@0 174 NSAccessibilityUnknownRole, //Unused on OS X.
michael@0 175 ROLE_SYSTEM_BORDER,
michael@0 176 ROLE_SYSTEM_BORDER,
michael@0 177 eNoNameRule)
michael@0 178
michael@0 179 ROLE(GROUPING,
michael@0 180 "grouping",
michael@0 181 ATK_ROLE_PANEL,
michael@0 182 NSAccessibilityGroupRole,
michael@0 183 ROLE_SYSTEM_GROUPING,
michael@0 184 ROLE_SYSTEM_GROUPING,
michael@0 185 eNoNameRule)
michael@0 186
michael@0 187 ROLE(SEPARATOR,
michael@0 188 "separator",
michael@0 189 ATK_ROLE_SEPARATOR,
michael@0 190 NSAccessibilityUnknownRole,
michael@0 191 ROLE_SYSTEM_SEPARATOR,
michael@0 192 ROLE_SYSTEM_SEPARATOR,
michael@0 193 eNoNameRule)
michael@0 194
michael@0 195 ROLE(TOOLBAR,
michael@0 196 "toolbar",
michael@0 197 ATK_ROLE_TOOL_BAR,
michael@0 198 NSAccessibilityToolbarRole,
michael@0 199 ROLE_SYSTEM_TOOLBAR,
michael@0 200 ROLE_SYSTEM_TOOLBAR,
michael@0 201 eNoNameRule)
michael@0 202
michael@0 203 ROLE(STATUSBAR,
michael@0 204 "statusbar",
michael@0 205 ATK_ROLE_STATUSBAR,
michael@0 206 NSAccessibilityUnknownRole, //Doesn't exist on OS X (a status bar is its parts; a progressbar, a label, etc.)
michael@0 207 ROLE_SYSTEM_STATUSBAR,
michael@0 208 ROLE_SYSTEM_STATUSBAR,
michael@0 209 eNoNameRule)
michael@0 210
michael@0 211 ROLE(TABLE,
michael@0 212 "table",
michael@0 213 ATK_ROLE_TABLE,
michael@0 214 NSAccessibilityGroupRole,
michael@0 215 ROLE_SYSTEM_TABLE,
michael@0 216 ROLE_SYSTEM_TABLE,
michael@0 217 eNoNameRule)
michael@0 218
michael@0 219 ROLE(COLUMNHEADER,
michael@0 220 "columnheader",
michael@0 221 ATK_ROLE_COLUMN_HEADER,
michael@0 222 NSAccessibilityGroupRole,
michael@0 223 ROLE_SYSTEM_COLUMNHEADER,
michael@0 224 ROLE_SYSTEM_COLUMNHEADER,
michael@0 225 eNameFromSubtreeRule)
michael@0 226
michael@0 227 ROLE(ROWHEADER,
michael@0 228 "rowheader",
michael@0 229 ATK_ROLE_ROW_HEADER,
michael@0 230 NSAccessibilityGroupRole,
michael@0 231 ROLE_SYSTEM_ROWHEADER,
michael@0 232 ROLE_SYSTEM_ROWHEADER,
michael@0 233 eNameFromSubtreeRule)
michael@0 234
michael@0 235 ROLE(COLUMN,
michael@0 236 "column",
michael@0 237 ATK_ROLE_UNKNOWN,
michael@0 238 NSAccessibilityColumnRole,
michael@0 239 ROLE_SYSTEM_COLUMN,
michael@0 240 ROLE_SYSTEM_COLUMN,
michael@0 241 eNameFromSubtreeRule)
michael@0 242
michael@0 243 ROLE(ROW,
michael@0 244 "row",
michael@0 245 ATK_ROLE_TABLE_ROW,
michael@0 246 NSAccessibilityRowRole,
michael@0 247 ROLE_SYSTEM_ROW,
michael@0 248 ROLE_SYSTEM_ROW,
michael@0 249 eNameFromSubtreeRule)
michael@0 250
michael@0 251 ROLE(CELL,
michael@0 252 "cell",
michael@0 253 ATK_ROLE_TABLE_CELL,
michael@0 254 NSAccessibilityGroupRole,
michael@0 255 ROLE_SYSTEM_CELL,
michael@0 256 ROLE_SYSTEM_CELL,
michael@0 257 eNameFromSubtreeIfReqRule)
michael@0 258
michael@0 259 ROLE(LINK,
michael@0 260 "link",
michael@0 261 ATK_ROLE_LINK,
michael@0 262 @"AXLink", //10.4+ the attr first define in SDK 10.4, so we define it here too. ROLE_LINK
michael@0 263 ROLE_SYSTEM_LINK,
michael@0 264 ROLE_SYSTEM_LINK,
michael@0 265 eNameFromSubtreeRule)
michael@0 266
michael@0 267 ROLE(HELPBALLOON,
michael@0 268 "helpballoon",
michael@0 269 ATK_ROLE_UNKNOWN,
michael@0 270 @"AXHelpTag",
michael@0 271 ROLE_SYSTEM_HELPBALLOON,
michael@0 272 ROLE_SYSTEM_HELPBALLOON,
michael@0 273 eNameFromSubtreeRule)
michael@0 274
michael@0 275 ROLE(CHARACTER,
michael@0 276 "character",
michael@0 277 ATK_ROLE_IMAGE,
michael@0 278 NSAccessibilityUnknownRole, //Unused on OS X.
michael@0 279 ROLE_SYSTEM_CHARACTER,
michael@0 280 ROLE_SYSTEM_CHARACTER,
michael@0 281 eNoNameRule)
michael@0 282
michael@0 283 ROLE(LIST,
michael@0 284 "list",
michael@0 285 ATK_ROLE_LIST,
michael@0 286 NSAccessibilityListRole,
michael@0 287 ROLE_SYSTEM_LIST,
michael@0 288 ROLE_SYSTEM_LIST,
michael@0 289 eNameFromSubtreeIfReqRule)
michael@0 290
michael@0 291 ROLE(LISTITEM,
michael@0 292 "listitem",
michael@0 293 ATK_ROLE_LIST_ITEM,
michael@0 294 NSAccessibilityGroupRole,
michael@0 295 ROLE_SYSTEM_LISTITEM,
michael@0 296 ROLE_SYSTEM_LISTITEM,
michael@0 297 eNameFromSubtreeRule)
michael@0 298
michael@0 299 ROLE(OUTLINE,
michael@0 300 "outline",
michael@0 301 ATK_ROLE_TREE,
michael@0 302 NSAccessibilityOutlineRole,
michael@0 303 ROLE_SYSTEM_OUTLINE,
michael@0 304 ROLE_SYSTEM_OUTLINE,
michael@0 305 eNoNameRule)
michael@0 306
michael@0 307 ROLE(OUTLINEITEM,
michael@0 308 "outlineitem",
michael@0 309 ATK_ROLE_LIST_ITEM,
michael@0 310 NSAccessibilityRowRole, //XXX: use OutlineRow as subrole.
michael@0 311 ROLE_SYSTEM_OUTLINEITEM,
michael@0 312 ROLE_SYSTEM_OUTLINEITEM,
michael@0 313 eNameFromSubtreeRule)
michael@0 314
michael@0 315 ROLE(PAGETAB,
michael@0 316 "pagetab",
michael@0 317 ATK_ROLE_PAGE_TAB,
michael@0 318 NSAccessibilityRadioButtonRole,
michael@0 319 ROLE_SYSTEM_PAGETAB,
michael@0 320 ROLE_SYSTEM_PAGETAB,
michael@0 321 eNameFromSubtreeRule)
michael@0 322
michael@0 323 ROLE(PROPERTYPAGE,
michael@0 324 "propertypage",
michael@0 325 ATK_ROLE_SCROLL_PANE,
michael@0 326 NSAccessibilityGroupRole,
michael@0 327 ROLE_SYSTEM_PROPERTYPAGE,
michael@0 328 ROLE_SYSTEM_PROPERTYPAGE,
michael@0 329 eNoNameRule)
michael@0 330
michael@0 331 ROLE(INDICATOR,
michael@0 332 "indicator",
michael@0 333 ATK_ROLE_UNKNOWN,
michael@0 334 NSAccessibilityUnknownRole,
michael@0 335 ROLE_SYSTEM_INDICATOR,
michael@0 336 ROLE_SYSTEM_INDICATOR,
michael@0 337 eNoNameRule)
michael@0 338
michael@0 339 ROLE(GRAPHIC,
michael@0 340 "graphic",
michael@0 341 ATK_ROLE_IMAGE,
michael@0 342 NSAccessibilityImageRole,
michael@0 343 ROLE_SYSTEM_GRAPHIC,
michael@0 344 ROLE_SYSTEM_GRAPHIC,
michael@0 345 eNoNameRule)
michael@0 346
michael@0 347 ROLE(STATICTEXT,
michael@0 348 "statictext",
michael@0 349 ATK_ROLE_UNKNOWN,
michael@0 350 NSAccessibilityStaticTextRole,
michael@0 351 ROLE_SYSTEM_STATICTEXT,
michael@0 352 ROLE_SYSTEM_STATICTEXT,
michael@0 353 eNoNameRule)
michael@0 354
michael@0 355 ROLE(TEXT_LEAF,
michael@0 356 "text leaf",
michael@0 357 ATK_ROLE_UNKNOWN,
michael@0 358 NSAccessibilityStaticTextRole,
michael@0 359 ROLE_SYSTEM_TEXT,
michael@0 360 ROLE_SYSTEM_TEXT,
michael@0 361 eNoNameRule)
michael@0 362
michael@0 363 ROLE(PUSHBUTTON,
michael@0 364 "pushbutton",
michael@0 365 ATK_ROLE_PUSH_BUTTON,
michael@0 366 NSAccessibilityButtonRole,
michael@0 367 ROLE_SYSTEM_PUSHBUTTON,
michael@0 368 ROLE_SYSTEM_PUSHBUTTON,
michael@0 369 eNameFromSubtreeRule)
michael@0 370
michael@0 371 ROLE(CHECKBUTTON,
michael@0 372 "checkbutton",
michael@0 373 ATK_ROLE_CHECK_BOX,
michael@0 374 NSAccessibilityCheckBoxRole,
michael@0 375 ROLE_SYSTEM_CHECKBUTTON,
michael@0 376 ROLE_SYSTEM_CHECKBUTTON,
michael@0 377 eNameFromSubtreeRule)
michael@0 378
michael@0 379 ROLE(RADIOBUTTON,
michael@0 380 "radiobutton",
michael@0 381 ATK_ROLE_RADIO_BUTTON,
michael@0 382 NSAccessibilityRadioButtonRole,
michael@0 383 ROLE_SYSTEM_RADIOBUTTON,
michael@0 384 ROLE_SYSTEM_RADIOBUTTON,
michael@0 385 eNameFromSubtreeRule)
michael@0 386
michael@0 387 ROLE(COMBOBOX,
michael@0 388 "combobox",
michael@0 389 ATK_ROLE_COMBO_BOX,
michael@0 390 NSAccessibilityPopUpButtonRole,
michael@0 391 ROLE_SYSTEM_COMBOBOX,
michael@0 392 ROLE_SYSTEM_COMBOBOX,
michael@0 393 eNameFromValueRule)
michael@0 394
michael@0 395 ROLE(DROPLIST,
michael@0 396 "droplist",
michael@0 397 ATK_ROLE_COMBO_BOX,
michael@0 398 NSAccessibilityPopUpButtonRole,
michael@0 399 ROLE_SYSTEM_DROPLIST,
michael@0 400 ROLE_SYSTEM_DROPLIST,
michael@0 401 eNoNameRule)
michael@0 402
michael@0 403 ROLE(PROGRESSBAR,
michael@0 404 "progressbar",
michael@0 405 ATK_ROLE_PROGRESS_BAR,
michael@0 406 NSAccessibilityProgressIndicatorRole,
michael@0 407 ROLE_SYSTEM_PROGRESSBAR,
michael@0 408 ROLE_SYSTEM_PROGRESSBAR,
michael@0 409 eNameFromValueRule)
michael@0 410
michael@0 411 ROLE(DIAL,
michael@0 412 "dial",
michael@0 413 ATK_ROLE_DIAL,
michael@0 414 NSAccessibilityUnknownRole,
michael@0 415 ROLE_SYSTEM_DIAL,
michael@0 416 ROLE_SYSTEM_DIAL,
michael@0 417 eNoNameRule)
michael@0 418
michael@0 419 ROLE(HOTKEYFIELD,
michael@0 420 "hotkeyfield",
michael@0 421 ATK_ROLE_UNKNOWN,
michael@0 422 NSAccessibilityUnknownRole,
michael@0 423 ROLE_SYSTEM_HOTKEYFIELD,
michael@0 424 ROLE_SYSTEM_HOTKEYFIELD,
michael@0 425 eNoNameRule)
michael@0 426
michael@0 427 ROLE(SLIDER,
michael@0 428 "slider",
michael@0 429 ATK_ROLE_SLIDER,
michael@0 430 NSAccessibilitySliderRole,
michael@0 431 ROLE_SYSTEM_SLIDER,
michael@0 432 ROLE_SYSTEM_SLIDER,
michael@0 433 eNameFromValueRule)
michael@0 434
michael@0 435 ROLE(SPINBUTTON,
michael@0 436 "spinbutton",
michael@0 437 ATK_ROLE_SPIN_BUTTON,
michael@0 438 NSAccessibilityIncrementorRole, //Subroles: Increment/Decrement.
michael@0 439 ROLE_SYSTEM_SPINBUTTON,
michael@0 440 ROLE_SYSTEM_SPINBUTTON,
michael@0 441 eNameFromValueRule)
michael@0 442
michael@0 443 ROLE(DIAGRAM,
michael@0 444 "diagram",
michael@0 445 ATK_ROLE_IMAGE,
michael@0 446 NSAccessibilityUnknownRole,
michael@0 447 ROLE_SYSTEM_DIAGRAM,
michael@0 448 ROLE_SYSTEM_DIAGRAM,
michael@0 449 eNoNameRule)
michael@0 450
michael@0 451 ROLE(ANIMATION,
michael@0 452 "animation",
michael@0 453 ATK_ROLE_ANIMATION,
michael@0 454 NSAccessibilityUnknownRole,
michael@0 455 ROLE_SYSTEM_ANIMATION,
michael@0 456 ROLE_SYSTEM_ANIMATION,
michael@0 457 eNoNameRule)
michael@0 458
michael@0 459 ROLE(EQUATION,
michael@0 460 "equation",
michael@0 461 ATK_ROLE_UNKNOWN,
michael@0 462 NSAccessibilityUnknownRole,
michael@0 463 ROLE_SYSTEM_EQUATION,
michael@0 464 ROLE_SYSTEM_EQUATION,
michael@0 465 eNoNameRule)
michael@0 466
michael@0 467 ROLE(BUTTONDROPDOWN,
michael@0 468 "buttondropdown",
michael@0 469 ATK_ROLE_PUSH_BUTTON,
michael@0 470 NSAccessibilityPopUpButtonRole,
michael@0 471 ROLE_SYSTEM_BUTTONDROPDOWN,
michael@0 472 ROLE_SYSTEM_BUTTONDROPDOWN,
michael@0 473 eNameFromSubtreeRule)
michael@0 474
michael@0 475 ROLE(BUTTONMENU,
michael@0 476 "buttonmenu",
michael@0 477 ATK_ROLE_PUSH_BUTTON,
michael@0 478 NSAccessibilityMenuButtonRole,
michael@0 479 ROLE_SYSTEM_BUTTONMENU,
michael@0 480 ROLE_SYSTEM_BUTTONMENU,
michael@0 481 eNameFromSubtreeRule)
michael@0 482
michael@0 483 ROLE(BUTTONDROPDOWNGRID,
michael@0 484 "buttondropdowngrid",
michael@0 485 ATK_ROLE_UNKNOWN,
michael@0 486 NSAccessibilityGroupRole,
michael@0 487 ROLE_SYSTEM_BUTTONDROPDOWNGRID,
michael@0 488 ROLE_SYSTEM_BUTTONDROPDOWNGRID,
michael@0 489 eNameFromSubtreeRule)
michael@0 490
michael@0 491 ROLE(WHITESPACE,
michael@0 492 "whitespace",
michael@0 493 ATK_ROLE_UNKNOWN,
michael@0 494 NSAccessibilityUnknownRole,
michael@0 495 ROLE_SYSTEM_WHITESPACE,
michael@0 496 ROLE_SYSTEM_WHITESPACE,
michael@0 497 eNoNameRule)
michael@0 498
michael@0 499 ROLE(PAGETABLIST,
michael@0 500 "pagetablist",
michael@0 501 ATK_ROLE_PAGE_TAB_LIST,
michael@0 502 NSAccessibilityTabGroupRole,
michael@0 503 ROLE_SYSTEM_PAGETABLIST,
michael@0 504 ROLE_SYSTEM_PAGETABLIST,
michael@0 505 eNoNameRule)
michael@0 506
michael@0 507 ROLE(CLOCK,
michael@0 508 "clock",
michael@0 509 ATK_ROLE_UNKNOWN,
michael@0 510 NSAccessibilityUnknownRole, //Unused on OS X
michael@0 511 ROLE_SYSTEM_CLOCK,
michael@0 512 ROLE_SYSTEM_CLOCK,
michael@0 513 eNoNameRule)
michael@0 514
michael@0 515 ROLE(SPLITBUTTON,
michael@0 516 "splitbutton",
michael@0 517 ATK_ROLE_PUSH_BUTTON,
michael@0 518 NSAccessibilityButtonRole,
michael@0 519 ROLE_SYSTEM_SPLITBUTTON,
michael@0 520 ROLE_SYSTEM_SPLITBUTTON,
michael@0 521 eNoNameRule)
michael@0 522
michael@0 523 ROLE(IPADDRESS,
michael@0 524 "ipaddress",
michael@0 525 ATK_ROLE_UNKNOWN,
michael@0 526 NSAccessibilityUnknownRole,
michael@0 527 ROLE_SYSTEM_IPADDRESS,
michael@0 528 ROLE_SYSTEM_IPADDRESS,
michael@0 529 eNoNameRule)
michael@0 530
michael@0 531 ROLE(ACCEL_LABEL,
michael@0 532 "accel label",
michael@0 533 ATK_ROLE_ACCEL_LABEL,
michael@0 534 NSAccessibilityStaticTextRole,
michael@0 535 ROLE_SYSTEM_STATICTEXT,
michael@0 536 ROLE_SYSTEM_STATICTEXT,
michael@0 537 eNoNameRule)
michael@0 538
michael@0 539 ROLE(ARROW,
michael@0 540 "arrow",
michael@0 541 ATK_ROLE_ARROW,
michael@0 542 NSAccessibilityUnknownRole,
michael@0 543 ROLE_SYSTEM_INDICATOR,
michael@0 544 ROLE_SYSTEM_INDICATOR,
michael@0 545 eNoNameRule)
michael@0 546
michael@0 547 ROLE(CANVAS,
michael@0 548 "canvas",
michael@0 549 ATK_ROLE_CANVAS,
michael@0 550 NSAccessibilityImageRole,
michael@0 551 USE_ROLE_STRING,
michael@0 552 IA2_ROLE_CANVAS,
michael@0 553 eNoNameRule)
michael@0 554
michael@0 555 ROLE(CHECK_MENU_ITEM,
michael@0 556 "check menu item",
michael@0 557 ATK_ROLE_CHECK_MENU_ITEM,
michael@0 558 NSAccessibilityMenuItemRole,
michael@0 559 ROLE_SYSTEM_MENUITEM,
michael@0 560 IA2_ROLE_CHECK_MENU_ITEM,
michael@0 561 eNameFromSubtreeRule)
michael@0 562
michael@0 563 ROLE(COLOR_CHOOSER,
michael@0 564 "color chooser",
michael@0 565 ATK_ROLE_COLOR_CHOOSER,
michael@0 566 NSAccessibilityColorWellRole,
michael@0 567 ROLE_SYSTEM_DIALOG,
michael@0 568 IA2_ROLE_COLOR_CHOOSER,
michael@0 569 eNoNameRule)
michael@0 570
michael@0 571 ROLE(DATE_EDITOR,
michael@0 572 "date editor",
michael@0 573 ATK_ROLE_DATE_EDITOR,
michael@0 574 NSAccessibilityUnknownRole,
michael@0 575 USE_ROLE_STRING,
michael@0 576 IA2_ROLE_DATE_EDITOR,
michael@0 577 eNoNameRule)
michael@0 578
michael@0 579 ROLE(DESKTOP_ICON,
michael@0 580 "desktop icon",
michael@0 581 ATK_ROLE_DESKTOP_ICON,
michael@0 582 NSAccessibilityImageRole,
michael@0 583 USE_ROLE_STRING,
michael@0 584 IA2_ROLE_DESKTOP_ICON,
michael@0 585 eNoNameRule)
michael@0 586
michael@0 587 ROLE(DESKTOP_FRAME,
michael@0 588 "desktop frame",
michael@0 589 ATK_ROLE_DESKTOP_FRAME,
michael@0 590 NSAccessibilityUnknownRole,
michael@0 591 USE_ROLE_STRING,
michael@0 592 IA2_ROLE_DESKTOP_PANE,
michael@0 593 eNoNameRule)
michael@0 594
michael@0 595 ROLE(DIRECTORY_PANE,
michael@0 596 "directory pane",
michael@0 597 ATK_ROLE_DIRECTORY_PANE,
michael@0 598 NSAccessibilityBrowserRole,
michael@0 599 USE_ROLE_STRING,
michael@0 600 IA2_ROLE_DIRECTORY_PANE,
michael@0 601 eNoNameRule)
michael@0 602
michael@0 603 ROLE(FILE_CHOOSER,
michael@0 604 "file chooser",
michael@0 605 ATK_ROLE_FILE_CHOOSER,
michael@0 606 NSAccessibilityUnknownRole, //Unused on OS X
michael@0 607 USE_ROLE_STRING,
michael@0 608 IA2_ROLE_FILE_CHOOSER,
michael@0 609 eNoNameRule)
michael@0 610
michael@0 611 ROLE(FONT_CHOOSER,
michael@0 612 "font chooser",
michael@0 613 ATK_ROLE_FONT_CHOOSER,
michael@0 614 NSAccessibilityUnknownRole,
michael@0 615 USE_ROLE_STRING,
michael@0 616 IA2_ROLE_FONT_CHOOSER,
michael@0 617 eNoNameRule)
michael@0 618
michael@0 619 ROLE(CHROME_WINDOW,
michael@0 620 "chrome window",
michael@0 621 ATK_ROLE_FRAME,
michael@0 622 NSAccessibilityGroupRole, //Contains the main Firefox UI
michael@0 623 ROLE_SYSTEM_APPLICATION,
michael@0 624 IA2_ROLE_FRAME,
michael@0 625 eNoNameRule)
michael@0 626
michael@0 627 ROLE(GLASS_PANE,
michael@0 628 "glass pane",
michael@0 629 ATK_ROLE_GLASS_PANE,
michael@0 630 NSAccessibilityGroupRole,
michael@0 631 USE_ROLE_STRING,
michael@0 632 IA2_ROLE_GLASS_PANE,
michael@0 633 eNoNameRule)
michael@0 634
michael@0 635 ROLE(HTML_CONTAINER,
michael@0 636 "html container",
michael@0 637 ATK_ROLE_HTML_CONTAINER,
michael@0 638 NSAccessibilityUnknownRole,
michael@0 639 USE_ROLE_STRING,
michael@0 640 IA2_ROLE_UNKNOWN,
michael@0 641 eNameFromSubtreeIfReqRule)
michael@0 642
michael@0 643 ROLE(ICON,
michael@0 644 "icon",
michael@0 645 ATK_ROLE_ICON,
michael@0 646 NSAccessibilityImageRole,
michael@0 647 ROLE_SYSTEM_PUSHBUTTON,
michael@0 648 IA2_ROLE_ICON,
michael@0 649 eNoNameRule)
michael@0 650
michael@0 651 ROLE(LABEL,
michael@0 652 "label",
michael@0 653 ATK_ROLE_LABEL,
michael@0 654 NSAccessibilityGroupRole,
michael@0 655 ROLE_SYSTEM_STATICTEXT,
michael@0 656 IA2_ROLE_LABEL,
michael@0 657 eNameFromSubtreeRule)
michael@0 658
michael@0 659 ROLE(LAYERED_PANE,
michael@0 660 "layered pane",
michael@0 661 ATK_ROLE_LAYERED_PANE,
michael@0 662 NSAccessibilityGroupRole,
michael@0 663 USE_ROLE_STRING,
michael@0 664 IA2_ROLE_LAYERED_PANE,
michael@0 665 eNoNameRule)
michael@0 666
michael@0 667 ROLE(OPTION_PANE,
michael@0 668 "option pane",
michael@0 669 ATK_ROLE_OPTION_PANE,
michael@0 670 NSAccessibilityGroupRole,
michael@0 671 USE_ROLE_STRING,
michael@0 672 IA2_ROLE_OPTION_PANE,
michael@0 673 eNoNameRule)
michael@0 674
michael@0 675 ROLE(PASSWORD_TEXT,
michael@0 676 "password text",
michael@0 677 ATK_ROLE_PASSWORD_TEXT,
michael@0 678 NSAccessibilityTextFieldRole,
michael@0 679 ROLE_SYSTEM_TEXT,
michael@0 680 ROLE_SYSTEM_TEXT,
michael@0 681 eNoNameRule)
michael@0 682
michael@0 683 ROLE(POPUP_MENU,
michael@0 684 "popup menu",
michael@0 685 ATK_ROLE_POPUP_MENU,
michael@0 686 NSAccessibilityUnknownRole, //Unused
michael@0 687 ROLE_SYSTEM_MENUPOPUP,
michael@0 688 ROLE_SYSTEM_MENUPOPUP,
michael@0 689 eNoNameRule)
michael@0 690
michael@0 691 ROLE(RADIO_MENU_ITEM,
michael@0 692 "radio menu item",
michael@0 693 ATK_ROLE_RADIO_MENU_ITEM,
michael@0 694 NSAccessibilityMenuItemRole,
michael@0 695 ROLE_SYSTEM_MENUITEM,
michael@0 696 IA2_ROLE_RADIO_MENU_ITEM,
michael@0 697 eNameFromSubtreeRule)
michael@0 698
michael@0 699 ROLE(ROOT_PANE,
michael@0 700 "root pane",
michael@0 701 ATK_ROLE_ROOT_PANE,
michael@0 702 NSAccessibilityGroupRole,
michael@0 703 USE_ROLE_STRING,
michael@0 704 IA2_ROLE_ROOT_PANE,
michael@0 705 eNoNameRule)
michael@0 706
michael@0 707 ROLE(SCROLL_PANE,
michael@0 708 "scroll pane",
michael@0 709 ATK_ROLE_SCROLL_PANE,
michael@0 710 NSAccessibilityScrollAreaRole,
michael@0 711 USE_ROLE_STRING,
michael@0 712 IA2_ROLE_SCROLL_PANE,
michael@0 713 eNoNameRule)
michael@0 714
michael@0 715 ROLE(SPLIT_PANE,
michael@0 716 "split pane",
michael@0 717 ATK_ROLE_SPLIT_PANE,
michael@0 718 NSAccessibilitySplitGroupRole,
michael@0 719 USE_ROLE_STRING,
michael@0 720 IA2_ROLE_SPLIT_PANE,
michael@0 721 eNoNameRule)
michael@0 722
michael@0 723 ROLE(TABLE_COLUMN_HEADER,
michael@0 724 "table column header",
michael@0 725 ATK_ROLE_TABLE_COLUMN_HEADER,
michael@0 726 NSAccessibilityUnknownRole,
michael@0 727 ROLE_SYSTEM_COLUMNHEADER,
michael@0 728 ROLE_SYSTEM_COLUMNHEADER,
michael@0 729 eNameFromSubtreeRule)
michael@0 730
michael@0 731 ROLE(TABLE_ROW_HEADER,
michael@0 732 "table row header",
michael@0 733 ATK_ROLE_TABLE_ROW_HEADER,
michael@0 734 NSAccessibilityUnknownRole,
michael@0 735 ROLE_SYSTEM_ROWHEADER,
michael@0 736 ROLE_SYSTEM_ROWHEADER,
michael@0 737 eNameFromSubtreeRule)
michael@0 738
michael@0 739 ROLE(TEAR_OFF_MENU_ITEM,
michael@0 740 "tear off menu item",
michael@0 741 ATK_ROLE_TEAR_OFF_MENU_ITEM,
michael@0 742 NSAccessibilityMenuItemRole,
michael@0 743 ROLE_SYSTEM_MENUITEM,
michael@0 744 IA2_ROLE_TEAR_OFF_MENU,
michael@0 745 eNameFromSubtreeRule)
michael@0 746
michael@0 747 ROLE(TERMINAL,
michael@0 748 "terminal",
michael@0 749 ATK_ROLE_TERMINAL,
michael@0 750 NSAccessibilityUnknownRole,
michael@0 751 USE_ROLE_STRING,
michael@0 752 IA2_ROLE_TERMINAL,
michael@0 753 eNoNameRule)
michael@0 754
michael@0 755 ROLE(TEXT_CONTAINER,
michael@0 756 "text container",
michael@0 757 ATK_ROLE_TEXT,
michael@0 758 NSAccessibilityGroupRole,
michael@0 759 USE_ROLE_STRING,
michael@0 760 IA2_ROLE_TEXT_FRAME,
michael@0 761 eNameFromSubtreeIfReqRule)
michael@0 762
michael@0 763 ROLE(TOGGLE_BUTTON,
michael@0 764 "toggle button",
michael@0 765 ATK_ROLE_TOGGLE_BUTTON,
michael@0 766 NSAccessibilityButtonRole,
michael@0 767 ROLE_SYSTEM_PUSHBUTTON,
michael@0 768 IA2_ROLE_TOGGLE_BUTTON,
michael@0 769 eNameFromSubtreeRule)
michael@0 770
michael@0 771 ROLE(TREE_TABLE,
michael@0 772 "tree table",
michael@0 773 ATK_ROLE_TREE_TABLE,
michael@0 774 NSAccessibilityTableRole,
michael@0 775 ROLE_SYSTEM_OUTLINE,
michael@0 776 ROLE_SYSTEM_OUTLINE,
michael@0 777 eNoNameRule)
michael@0 778
michael@0 779 ROLE(VIEWPORT,
michael@0 780 "viewport",
michael@0 781 ATK_ROLE_VIEWPORT,
michael@0 782 NSAccessibilityUnknownRole,
michael@0 783 ROLE_SYSTEM_PANE,
michael@0 784 IA2_ROLE_VIEW_PORT,
michael@0 785 eNoNameRule)
michael@0 786
michael@0 787 ROLE(HEADER,
michael@0 788 "header",
michael@0 789 ATK_ROLE_HEADER,
michael@0 790 NSAccessibilityGroupRole,
michael@0 791 USE_ROLE_STRING,
michael@0 792 IA2_ROLE_HEADER,
michael@0 793 eNoNameRule)
michael@0 794
michael@0 795 ROLE(FOOTER,
michael@0 796 "footer",
michael@0 797 ATK_ROLE_FOOTER,
michael@0 798 NSAccessibilityGroupRole,
michael@0 799 USE_ROLE_STRING,
michael@0 800 IA2_ROLE_FOOTER,
michael@0 801 eNoNameRule)
michael@0 802
michael@0 803 ROLE(PARAGRAPH,
michael@0 804 "paragraph",
michael@0 805 ATK_ROLE_PARAGRAPH,
michael@0 806 NSAccessibilityGroupRole,
michael@0 807 USE_ROLE_STRING,
michael@0 808 IA2_ROLE_PARAGRAPH,
michael@0 809 eNameFromSubtreeIfReqRule)
michael@0 810
michael@0 811 ROLE(RULER,
michael@0 812 "ruler",
michael@0 813 ATK_ROLE_RULER,
michael@0 814 @"AXRuler", //10.4+ only, so we re-define the constant.
michael@0 815 USE_ROLE_STRING,
michael@0 816 IA2_ROLE_RULER,
michael@0 817 eNoNameRule)
michael@0 818
michael@0 819 ROLE(AUTOCOMPLETE,
michael@0 820 "autocomplete",
michael@0 821 ATK_ROLE_AUTOCOMPLETE,
michael@0 822 NSAccessibilityUnknownRole,
michael@0 823 ROLE_SYSTEM_COMBOBOX,
michael@0 824 ROLE_SYSTEM_COMBOBOX,
michael@0 825 eNoNameRule)
michael@0 826
michael@0 827 ROLE(EDITBAR,
michael@0 828 "editbar",
michael@0 829 ATK_ROLE_EDITBAR,
michael@0 830 NSAccessibilityTextFieldRole,
michael@0 831 ROLE_SYSTEM_TEXT,
michael@0 832 IA2_ROLE_EDITBAR,
michael@0 833 eNoNameRule)
michael@0 834
michael@0 835 ROLE(ENTRY,
michael@0 836 "entry",
michael@0 837 ATK_ROLE_ENTRY,
michael@0 838 NSAccessibilityTextFieldRole,
michael@0 839 ROLE_SYSTEM_TEXT,
michael@0 840 ROLE_SYSTEM_TEXT,
michael@0 841 eNameFromValueRule)
michael@0 842
michael@0 843 ROLE(CAPTION,
michael@0 844 "caption",
michael@0 845 ATK_ROLE_CAPTION,
michael@0 846 NSAccessibilityStaticTextRole,
michael@0 847 USE_ROLE_STRING,
michael@0 848 IA2_ROLE_CAPTION,
michael@0 849 eNameFromSubtreeIfReqRule)
michael@0 850
michael@0 851 ROLE(DOCUMENT_FRAME,
michael@0 852 "document frame",
michael@0 853 ATK_ROLE_DOCUMENT_FRAME,
michael@0 854 NSAccessibilityScrollAreaRole,
michael@0 855 USE_ROLE_STRING,
michael@0 856 IA2_ROLE_UNKNOWN,
michael@0 857 eNoNameRule)
michael@0 858
michael@0 859 ROLE(HEADING,
michael@0 860 "heading",
michael@0 861 ATK_ROLE_HEADING,
michael@0 862 @"AXHeading",
michael@0 863 USE_ROLE_STRING,
michael@0 864 IA2_ROLE_HEADING,
michael@0 865 eNameFromSubtreeIfReqRule)
michael@0 866
michael@0 867 ROLE(PAGE,
michael@0 868 "page",
michael@0 869 ATK_ROLE_PAGE,
michael@0 870 NSAccessibilityGroupRole,
michael@0 871 USE_ROLE_STRING,
michael@0 872 IA2_ROLE_PAGE,
michael@0 873 eNoNameRule)
michael@0 874
michael@0 875 ROLE(SECTION,
michael@0 876 "section",
michael@0 877 ATK_ROLE_SECTION,
michael@0 878 NSAccessibilityGroupRole,
michael@0 879 USE_ROLE_STRING,
michael@0 880 IA2_ROLE_SECTION,
michael@0 881 eNameFromSubtreeIfReqRule)
michael@0 882
michael@0 883 ROLE(REDUNDANT_OBJECT,
michael@0 884 "redundant object",
michael@0 885 ATK_ROLE_REDUNDANT_OBJECT,
michael@0 886 NSAccessibilityUnknownRole,
michael@0 887 USE_ROLE_STRING,
michael@0 888 IA2_ROLE_REDUNDANT_OBJECT,
michael@0 889 eNoNameRule)
michael@0 890
michael@0 891 ROLE(FORM,
michael@0 892 "form",
michael@0 893 ATK_ROLE_FORM,
michael@0 894 NSAccessibilityGroupRole,
michael@0 895 USE_ROLE_STRING,
michael@0 896 IA2_ROLE_FORM,
michael@0 897 eNoNameRule)
michael@0 898
michael@0 899 ROLE(IME,
michael@0 900 "ime",
michael@0 901 ATK_ROLE_INPUT_METHOD_WINDOW,
michael@0 902 NSAccessibilityUnknownRole,
michael@0 903 USE_ROLE_STRING,
michael@0 904 IA2_ROLE_INPUT_METHOD_WINDOW,
michael@0 905 eNoNameRule)
michael@0 906
michael@0 907 ROLE(APP_ROOT,
michael@0 908 "app root",
michael@0 909 ATK_ROLE_APPLICATION,
michael@0 910 NSAccessibilityUnknownRole, //Unused on OS X
michael@0 911 ROLE_SYSTEM_APPLICATION,
michael@0 912 ROLE_SYSTEM_APPLICATION,
michael@0 913 eNoNameRule)
michael@0 914
michael@0 915 ROLE(PARENT_MENUITEM,
michael@0 916 "parent menuitem",
michael@0 917 ATK_ROLE_MENU,
michael@0 918 NSAccessibilityMenuItemRole,
michael@0 919 ROLE_SYSTEM_MENUITEM,
michael@0 920 ROLE_SYSTEM_MENUITEM,
michael@0 921 eNameFromSubtreeRule)
michael@0 922
michael@0 923 ROLE(CALENDAR,
michael@0 924 "calendar",
michael@0 925 ATK_ROLE_CALENDAR,
michael@0 926 NSAccessibilityGroupRole,
michael@0 927 ROLE_SYSTEM_CLIENT,
michael@0 928 ROLE_SYSTEM_CLIENT,
michael@0 929 eNoNameRule)
michael@0 930
michael@0 931 ROLE(COMBOBOX_LIST,
michael@0 932 "combobox list",
michael@0 933 ATK_ROLE_MENU,
michael@0 934 NSAccessibilityMenuRole,
michael@0 935 ROLE_SYSTEM_LIST,
michael@0 936 ROLE_SYSTEM_LIST,
michael@0 937 eNoNameRule)
michael@0 938
michael@0 939 ROLE(COMBOBOX_OPTION,
michael@0 940 "combobox option",
michael@0 941 ATK_ROLE_MENU_ITEM,
michael@0 942 NSAccessibilityMenuItemRole,
michael@0 943 ROLE_SYSTEM_LISTITEM,
michael@0 944 ROLE_SYSTEM_LISTITEM,
michael@0 945 eNameFromSubtreeRule)
michael@0 946
michael@0 947 ROLE(IMAGE_MAP,
michael@0 948 "image map",
michael@0 949 ATK_ROLE_IMAGE,
michael@0 950 NSAccessibilityUnknownRole,
michael@0 951 ROLE_SYSTEM_GRAPHIC,
michael@0 952 ROLE_SYSTEM_GRAPHIC,
michael@0 953 eNoNameRule)
michael@0 954
michael@0 955 ROLE(OPTION,
michael@0 956 "listbox option",
michael@0 957 ATK_ROLE_LIST_ITEM,
michael@0 958 NSAccessibilityRowRole,
michael@0 959 ROLE_SYSTEM_LISTITEM,
michael@0 960 ROLE_SYSTEM_LISTITEM,
michael@0 961 eNameFromSubtreeRule)
michael@0 962
michael@0 963 ROLE(RICH_OPTION,
michael@0 964 "listbox rich option",
michael@0 965 ATK_ROLE_LIST_ITEM,
michael@0 966 NSAccessibilityRowRole,
michael@0 967 ROLE_SYSTEM_LISTITEM,
michael@0 968 ROLE_SYSTEM_LISTITEM,
michael@0 969 eNameFromSubtreeRule)
michael@0 970
michael@0 971 ROLE(LISTBOX,
michael@0 972 "listbox",
michael@0 973 ATK_ROLE_LIST_BOX,
michael@0 974 NSAccessibilityListRole,
michael@0 975 ROLE_SYSTEM_LIST,
michael@0 976 ROLE_SYSTEM_LIST,
michael@0 977 eNoNameRule)
michael@0 978
michael@0 979 ROLE(FLAT_EQUATION,
michael@0 980 "flat equation",
michael@0 981 ATK_ROLE_UNKNOWN,
michael@0 982 NSAccessibilityUnknownRole,
michael@0 983 ROLE_SYSTEM_EQUATION,
michael@0 984 ROLE_SYSTEM_EQUATION,
michael@0 985 eNoNameRule)
michael@0 986
michael@0 987 ROLE(GRID_CELL,
michael@0 988 "gridcell",
michael@0 989 ATK_ROLE_TABLE_CELL,
michael@0 990 NSAccessibilityGroupRole,
michael@0 991 ROLE_SYSTEM_CELL,
michael@0 992 ROLE_SYSTEM_CELL,
michael@0 993 eNameFromSubtreeRule)
michael@0 994
michael@0 995 ROLE(EMBEDDED_OBJECT,
michael@0 996 "embedded object",
michael@0 997 ATK_ROLE_PANEL,
michael@0 998 NSAccessibilityGroupRole,
michael@0 999 USE_ROLE_STRING,
michael@0 1000 IA2_ROLE_EMBEDDED_OBJECT,
michael@0 1001 eNoNameRule)
michael@0 1002
michael@0 1003 ROLE(NOTE,
michael@0 1004 "note",
michael@0 1005 ATK_ROLE_SECTION,
michael@0 1006 NSAccessibilityGroupRole,
michael@0 1007 USE_ROLE_STRING,
michael@0 1008 IA2_ROLE_NOTE,
michael@0 1009 eNameFromSubtreeIfReqRule)
michael@0 1010
michael@0 1011 ROLE(FIGURE,
michael@0 1012 "figure",
michael@0 1013 ATK_ROLE_PANEL,
michael@0 1014 NSAccessibilityGroupRole,
michael@0 1015 ROLE_SYSTEM_GROUPING,
michael@0 1016 ROLE_SYSTEM_GROUPING,
michael@0 1017 eNoNameRule)
michael@0 1018
michael@0 1019 ROLE(CHECK_RICH_OPTION,
michael@0 1020 "check rich option",
michael@0 1021 ATK_ROLE_CHECK_BOX,
michael@0 1022 NSAccessibilityCheckBoxRole,
michael@0 1023 ROLE_SYSTEM_CHECKBUTTON,
michael@0 1024 ROLE_SYSTEM_CHECKBUTTON,
michael@0 1025 eNameFromSubtreeRule)
michael@0 1026
michael@0 1027 ROLE(DEFINITION_LIST,
michael@0 1028 "definitionlist",
michael@0 1029 ATK_ROLE_LIST,
michael@0 1030 NSAccessibilityListRole,
michael@0 1031 ROLE_SYSTEM_LIST,
michael@0 1032 ROLE_SYSTEM_LIST,
michael@0 1033 eNameFromSubtreeIfReqRule)
michael@0 1034
michael@0 1035 ROLE(TERM,
michael@0 1036 "term",
michael@0 1037 ATK_ROLE_LIST_ITEM,
michael@0 1038 NSAccessibilityGroupRole,
michael@0 1039 ROLE_SYSTEM_LISTITEM,
michael@0 1040 ROLE_SYSTEM_LISTITEM,
michael@0 1041 eNameFromSubtreeRule)
michael@0 1042
michael@0 1043 ROLE(DEFINITION,
michael@0 1044 "definition",
michael@0 1045 ATK_ROLE_PARAGRAPH,
michael@0 1046 NSAccessibilityGroupRole,
michael@0 1047 USE_ROLE_STRING,
michael@0 1048 IA2_ROLE_PARAGRAPH,
michael@0 1049 eNameFromSubtreeRule)
michael@0 1050
michael@0 1051 ROLE(KEY,
michael@0 1052 "key",
michael@0 1053 ATK_ROLE_PUSH_BUTTON,
michael@0 1054 NSAccessibilityButtonRole,
michael@0 1055 ROLE_SYSTEM_PUSHBUTTON,
michael@0 1056 ROLE_SYSTEM_PUSHBUTTON,
michael@0 1057 eNameFromSubtreeRule)

mercurial