Vizel API / core/src / VizelMenuRootAttrs
Interface: VizelMenuRootAttrs
Defined in: packages/core/src/builders/types.ts:20
ARIA attributes accepted on the menu root element.
Properties
aria-activedescendant?
ts
optional aria-activedescendant?: string;Defined in: packages/core/src/builders/types.ts:28
Id of the currently focused option/menuitem. Set when the menu uses roving keyboard focus via aria-activedescendant.
aria-label?
ts
optional aria-label?: string;Defined in: packages/core/src/builders/types.ts:23
Localized label announced by assistive tech.
role?
ts
optional role?: "menu" | "listbox";Defined in: packages/core/src/builders/types.ts:21
tabIndex?
ts
optional tabIndex?: number;Defined in: packages/core/src/builders/types.ts:30
Optional explicit tabIndex on the root (useful for keyboard focus).