Stay organized with collections
Save and categorize content based on your preferences.
blockly > utils > aria > Role
utils.aria.Role enum
ARIA role values. Copied from Closure's goog.a11y.aria.Role
Signature:
export declare enum Role
Enumeration Members
Member |
Value |
Description |
GRID |
"grid" |
|
GRIDCELL |
"gridcell" |
|
GROUP |
"group" |
|
LISTBOX |
"listbox" |
|
MENU |
"menu" |
|
MENUITEM |
"menuitem" |
|
MENUITEMCHECKBOX |
"menuitemcheckbox" |
|
OPTION |
"option" |
|
PRESENTATION |
"presentation" |
|
ROW |
"row" |
|
SEPARATOR |
"separator" |
|
STATUS |
"status" |
|
TREE |
"tree" |
|
TREEITEM |
"treeitem" |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-16 UTC."],[[["`utils.aria.Role` is an enum providing ARIA role values for accessibility."],["These values, copied from Closure's `goog.a11y.aria.Role`, define the role of an element within the user interface for assistive technologies."],["The enum includes roles like grid, listbox, menu, tree, and their respective sub-elements, facilitating semantic representation for better accessibility."],["Each role value is represented as a string literal (e.g., `\"grid\"`, `\"listbox\"`) within the enum."]]],[]]