Path: blob/trunk/third_party/closure/goog/a11y/aria/roles.js
4284 views
/**1* @license2* Copyright The Closure Library Authors.3* SPDX-License-Identifier: Apache-2.04*/567/**8* @fileoverview The file contains generated enumerations for ARIA roles9* as defined by W3C ARIA standard: http://www.w3.org/TR/wai-aria/.10*11* This is auto-generated code. Do not manually edit! For more details12* about how to edit it via the generator check go/closure-ariagen.13*/1415goog.provide('goog.a11y.aria.Role');161718/**19* ARIA role values.20* @enum {string}21*/22goog.a11y.aria.Role = {23// ARIA role for an alert element that doesn't need to be explicitly closed.24ALERT: 'alert',2526// ARIA role for an alert dialog element that takes focus and must be closed.27ALERTDIALOG: 'alertdialog',2829// ARIA role for an application that implements its own keyboard navigation.30APPLICATION: 'application',3132// ARIA role for an article.33ARTICLE: 'article',3435// ARIA role for a banner containing mostly site content, not page content.36BANNER: 'banner',3738// ARIA role for a button element.39BUTTON: 'button',4041// ARIA role for a checkbox button element; use with the CHECKED state.42CHECKBOX: 'checkbox',4344// ARIA role for a column header of a table or grid.45COLUMNHEADER: 'columnheader',4647// ARIA role for a combo box element.48COMBOBOX: 'combobox',4950// ARIA role for a supporting section of the document.51COMPLEMENTARY: 'complementary',5253// ARIA role for a large perceivable region that contains information54// about the parent document.55CONTENTINFO: 'contentinfo',5657// ARIA role for a definition of a term or concept.58DEFINITION: 'definition',5960// ARIA role for a dialog, some descendant must take initial focus.61DIALOG: 'dialog',6263// ARIA role for a directory, like a table of contents.64DIRECTORY: 'directory',6566// ARIA role for a part of a page that's a document, not a web application.67DOCUMENT: 'document',6869// ARIA role for a landmark region logically considered one form.70FORM: 'form',7172// ARIA role for an interactive control of tabular data.73GRID: 'grid',7475// ARIA role for a cell in a grid.76GRIDCELL: 'gridcell',7778// ARIA role for a group of related elements like tree item siblings.79GROUP: 'group',8081// ARIA role for a heading element.82HEADING: 'heading',8384// ARIA role for a container of elements that together comprise one image.85IMG: 'img',8687// ARIA role for a link.88LINK: 'link',8990// ARIA role for a list of non-interactive list items.91LIST: 'list',9293// ARIA role for a listbox.94LISTBOX: 'listbox',9596// ARIA role for a list item.97LISTITEM: 'listitem',9899// ARIA role for a live region where new information is added.100LOG: 'log',101102// ARIA landmark role for the main content in a document. Use only once.103MAIN: 'main',104105// ARIA role for a live region of non-essential information that changes.106MARQUEE: 'marquee',107108// ARIA role for a mathematical expression.109MATH: 'math',110111// ARIA role for a popup menu.112MENU: 'menu',113114// ARIA role for a menubar element containing menu elements.115MENUBAR: 'menubar',116117// ARIA role for menu item elements.118MENU_ITEM: 'menuitem',119120// ARIA role for a checkbox box element inside a menu.121MENU_ITEM_CHECKBOX: 'menuitemcheckbox',122123// ARIA role for a radio button element inside a menu.124MENU_ITEM_RADIO: 'menuitemradio',125126// ARIA landmark role for a collection of navigation links.127NAVIGATION: 'navigation',128129// ARIA role for a section ancillary to the main content.130NOTE: 'note',131132// ARIA role for option items that are children of combobox, listbox, menu,133// radiogroup, or tree elements.134OPTION: 'option',135136// ARIA role for ignorable cosmetic elements with no semantic significance.137PRESENTATION: 'presentation',138139// ARIA role for a progress bar element.140PROGRESSBAR: 'progressbar',141142// ARIA role for a radio button element.143RADIO: 'radio',144145// ARIA role for a group of connected radio button elements.146RADIOGROUP: 'radiogroup',147148// ARIA role for an important region of the page.149REGION: 'region',150151// ARIA role for a row of cells in a grid.152ROW: 'row',153154// ARIA role for a group of one or more rows in a grid.155ROWGROUP: 'rowgroup',156157// ARIA role for a row header of a table or grid.158ROWHEADER: 'rowheader',159160// ARIA role for a scrollbar element.161SCROLLBAR: 'scrollbar',162163// ARIA landmark role for a part of the page providing search functionality.164SEARCH: 'search',165166// ARIA role for a menu separator.167SEPARATOR: 'separator',168169// ARIA role for a slider.170SLIDER: 'slider',171172// ARIA role for a spin button.173SPINBUTTON: 'spinbutton',174175// ARIA role for a live region with advisory info less severe than an alert.176STATUS: 'status',177178// ARIA role for a tab button.179TAB: 'tab',180181// ARIA role for a tab bar (i.e. a list of tab buttons).182TAB_LIST: 'tablist',183184// ARIA role for a tab page (i.e. the element holding tab contents).185TAB_PANEL: 'tabpanel',186187// ARIA role for a textbox element.188TEXTBOX: 'textbox',189190// ARIA role for a textinfo element.191TEXTINFO: 'textinfo',192193// ARIA role for an element displaying elapsed time or time remaining.194TIMER: 'timer',195196// ARIA role for a toolbar element.197TOOLBAR: 'toolbar',198199// ARIA role for a tooltip element.200TOOLTIP: 'tooltip',201202// ARIA role for a tree.203TREE: 'tree',204205// ARIA role for a grid whose rows can be expanded and collapsed like a tree.206TREEGRID: 'treegrid',207208// ARIA role for a tree item that sometimes may be expanded or collapsed.209TREEITEM: 'treeitem'210};211212213