| Start |
|---|
| role="presentation" An element whose implicit native role semantics will not be mapped to the accessibility API. |
| role="alert" A message with important, and usually time-sensitive, information. Note that I've included both |
| role="alertdialog" A type of dialog that contains an alert message, where initial focus goes to an element within the dialog. |
| role="application" A region declared as a web application, as opposed to a web document. In this example, the application is a simple calculator that might add two numbers together. |
| role="article" A section of a page that consists of a composition that forms an independent part of a document, page, or site. You would use W3C Entry for |
| role="banner" A region that contains mostly site-oriented content, rather than page-specific content. |
| role="button" An input that allows for user-triggered actions when clicked or pressed. |
| role="cell" A cell in a tabular container. |
| role="checkbox" A checkable input that has three possible values: true, false, or mixed. |
| role="columnheader" A cell containing header information for a column. |
| role="combobox" A presentation of a select; usually similar to a textbox where users can type ahead to select an option, or type to enter arbitrary text as a new item in the list. Typically, you would use JavaScript to build the rest of the typeahead or list select functionality. |
| role="contentinfo" A large perceivable region that contains information about the parent document. |
| role="complementary" A supporting section of the document, designed to be complementary to the main content at a similar level in the DOM hierarchy, but remains meaningful when separated from the main content. |
| role="definition" A definition of a term or concept. |
| role="dialog" A dialog is an application window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response. |
| role="directory" A list of references to members of a group, such as a static table of contents. |
| role="document" A region containing related information that is declared as document content, as opposed to a web application. |
| role="form" A landmark region that contains a collection of items and objects that, as a whole, combine to create a form. Using the semantically correct HTML element You would use |
| role="grid" A grid is an interactive control which contains cells of tabular data arranged in rows and columns, like a table. |
| role="gridcell" A cell in a grid or treegrid. |
| role="group" A set of user interface objects which are not intended to be included in a page summary or table of contents by assistive technologies. |
| role="heading" A heading for a section of the page. |
| role="img" A container for a collection of elements that form an image. |
| role="link" An interactive reference to an internal or external resource that, when activated, causes the user agent to navigate to that resource. In the majority of cases setting an ARIA role and/or aria-* attribute that matches the default implicit ARIA semantics (opens new window) is unnecessary and not recommended as these properties are already set by the browser. Source - https://www.w3.org/TR/html5/dom.html#aria-usage-note (opens new window) |
| role="list" A group of non-interactive list items. |
| role="listbox" A widget that allows the user to select one or more items from a list of choices. Typically, you would use JavaScript to build the multiple-selection functionality. |
| role="listitem" A single item in a list or directory. |
| role="log" A type of live region where new information is added in meaningful order and old information may disappear. |
| role="main" The main content of a document. |
| role="marquee" A type of live region where non-essential information changes frequently. |
| role="math" Content that represents a mathematical expression. |
| role="menu" A type of widget that offers a list of choices to the user. |
| role="menubar" A presentation of menu that usually remains visible and is usually presented horizontally. |
| role="menuitem" An option in a group of choices contained by a menu or menubar. |
| role="menuitemcheckbox" A checkable menuitem that has three possible values: true, false, or mixed. |
| role="menuitemradio" A checkable menuitem in a group of menuitemradio roles, only one of which can be checked at a time. |
| role="navigation" A collection of navigational elements (usually links) for navigating the document or related documents. |
| role="note" A section whose content is parenthetic or ancillary to the main content of the resource. |
| role="option" A selectable item in a select list. |
| role="progressbar" An element that displays the progress status for tasks that take a long time. |
| role="radio" A checkable input in a group of radio roles, only one of which can be checked at a time. |
| role="region" A large perceivable section of a web page or document, that the author feels is important enough to be included in a page summary or table of contents, for example, an area of the page containing live sporting event statistics. |
| role="radiogroup" A group of radio buttons. |
| role="row" A row of cells in a tabular container. |
| role="rowgroup" A group containing one or more row elements in a grid. |
| role="rowheader" A cell containing header information for a row in a grid. |
| role="scrollbar" A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area. |
| role="search" A landmark region that contains a collection of items and objects that, as a whole, combine to create a search facility. |
| role="searchbox" A type of textbox intended for specifying search criteria. |
| role="separator" A divider that separates and distinguishes sections of content or groups of menuitems. |
| role="slider" A user input where the user selects a value from within a given range. |
| role="spinbutton" A form of range that expects the user to select from among discrete choices. |
| role="status" A container whose content is advisory information for the user but is not important enough to justify an alert, often but not necessarily presented as a status bar. |
| role="switch" A type of checkbox that represents on/off values, as opposed to checked/unchecked values. |
| role="tab" A grouping label providing a mechanism for selecting the tab content that is to be rendered to the user. |
| role="table" A section containing data arranged in rows and columns. The table role is intended for tabular containers which are not interactive. |
| role="tablist" A list of tab elements, which are references to tabpanel elements. |
| role="tabpanel" A container for the resources associated with a tab, where each tab is contained in a tablist. |
| role="textbox" Input that allows free-form text as its value. |
| role="timer" A type of live region containing a numerical counter which indicates an amount of elapsed time from a start point, or the time remaining until an end point. |
| role="toolbar" A collection of commonly used function buttons represented in compact visual form. |
| role="tooltip" A contextual popup that displays a description for an element. Typically, the tooltip would be hidden. Using JavaScript, the tooltip would be displayed after a delay when the user hovers over the element that it describes. |
| role="tree" A type of list that may contain sub-level nested groups that can be collapsed and expanded. |
| role="treegrid" A grid whose rows can be expanded and collapsed in the same manner as for a tree. |
| role="treeitem" An option item of a tree. This is an element within a tree that may be expanded or collapsed if it contains a sub-level group of treeitems. Syntax
RemarksARIA is a specification for semantically describing rich web applications. Following ARIA standards can increase accessibility for those using assistive technologies (such as a screen reader) to access your content. |
Read Article
https://develop.horje.com/learn/1434/reference