blockly >utils >aria >角色
utils.aria.Role 列舉
ARIA 角色值。從 Closure 的 goog.a11y.aria.Role 複製而來
Signature:
export declare enum Role
列舉成員
成員 |
值 |
說明 |
GRID |
"grid" |
|
GRIDCELL |
"gridcell" |
|
群組 |
"group" |
|
清單方塊 |
"listbox" |
|
選單 |
"menu" |
|
音樂 |
"menuitem" |
|
選單檢查箱 |
"menuitemcheckbox" |
|
OPTION |
"option" |
|
簡報 |
"presentation" |
|
全球其他各地 |
"row" |
|
TREE |
"tree" |
|
研究 |
"treeitem" |
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-12 (世界標準時間)。
[null,null,["上次更新時間:2024-09-12 (世界標準時間)。"],[[["`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."]]],[]]