interface MenuHTMLAttributes {
    about?: string;
    accesskey?: string;
    aria-activedescendant?: string;
    aria-atomic?: Booleanish;
    aria-autocomplete?:
        | "list"
        | "none"
        | "inline"
        | "both";
    aria-busy?: Booleanish;
    aria-checked?: Booleanish | "mixed";
    aria-colcount?: Numberish;
    aria-colindex?: Numberish;
    aria-colspan?: Numberish;
    aria-controls?: string;
    aria-current?:
        | "time"
        | Booleanish
        | "page"
        | "step"
        | "location"
        | "date";
    aria-describedby?: string;
    aria-details?: string;
    aria-disabled?: Booleanish;
    aria-dropeffect?:
        | "link"
        | "none"
        | "copy"
        | "move"
        | "execute"
        | "popup";
    aria-errormessage?: string;
    aria-expanded?: Booleanish;
    aria-flowto?: string;
    aria-grabbed?: Booleanish;
    aria-haspopup?:
        | "tree"
        | "dialog"
        | "menu"
        | Booleanish
        | "listbox"
        | "grid";
    aria-hidden?: Booleanish;
    aria-invalid?: Booleanish | "grammar" | "spelling";
    aria-keyshortcuts?: string;
    aria-label?: string;
    aria-labelledby?: string;
    aria-level?: Numberish;
    aria-live?: "off" | "assertive" | "polite";
    aria-modal?: Booleanish;
    aria-multiline?: Booleanish;
    aria-multiselectable?: Booleanish;
    aria-orientation?: "vertical" | "horizontal";
    aria-owns?: string;
    aria-placeholder?: string;
    aria-posinset?: Numberish;
    aria-pressed?: Booleanish | "mixed";
    aria-readonly?: Booleanish;
    aria-relevant?:
        | "all"
        | "text"
        | "additions"
        | "additions removals"
        | "additions text"
        | "removals"
        | "removals additions"
        | "removals text"
        | "text additions"
        | "text removals";
    aria-required?: Booleanish;
    aria-roledescription?: string;
    aria-rowcount?: Numberish;
    aria-rowindex?: Numberish;
    aria-rowspan?: Numberish;
    aria-selected?: Booleanish;
    aria-setsize?: Numberish;
    aria-sort?:
        | "other"
        | "none"
        | "ascending"
        | "descending";
    aria-valuemax?: Numberish;
    aria-valuemin?: Numberish;
    aria-valuenow?: Numberish;
    aria-valuetext?: string;
    autocapitalize?: string;
    autocorrect?: string;
    autosave?: string;
    class?: any;
    color?: string;
    contenteditable?: "inherit" | Booleanish | "plaintext-only";
    contextmenu?: string;
    datatype?: string;
    dir?: string;
    draggable?: Booleanish;
    hidden?:
        | ""
        | "hidden"
        | Booleanish
        | "until-found";
    id?: string;
    inert?: Booleanish;
    inlist?: any;
    innerHTML?: string;
    inputmode?:
        | "search"
        | "email"
        | "none"
        | "url"
        | "text"
        | "tel"
        | "numeric"
        | "decimal";
    is?: string;
    itemid?: string;
    itemprop?: string;
    itemref?: string;
    itemscope?: Booleanish;
    itemtype?: string;
    lang?: string;
    onAbort?: ((payload: Event) => void);
    onAnimationend?: ((payload: AnimationEvent) => void);
    onAnimationiteration?: ((payload: AnimationEvent) => void);
    onAnimationstart?: ((payload: AnimationEvent) => void);
    onAuxclick?: ((payload: MouseEvent) => void);
    onBeforeinput?: ((payload: Event) => void);
    onBlur?: ((payload: FocusEvent) => void);
    onCanplay?: ((payload: Event) => void);
    onCanplaythrough?: ((payload: Event) => void);
    onChange?: ((payload: Event) => void);
    onClick?: ((payload: MouseEvent) => void);
    onCompositionend?: ((payload: CompositionEvent) => void);
    onCompositionstart?: ((payload: CompositionEvent) => void);
    onCompositionupdate?: ((payload: CompositionEvent) => void);
    onContextmenu?: ((payload: MouseEvent) => void);
    onCopy?: ((payload: ClipboardEvent) => void);
    onCut?: ((payload: ClipboardEvent) => void);
    onDblclick?: ((payload: MouseEvent) => void);
    onDrag?: ((payload: DragEvent) => void);
    onDragend?: ((payload: DragEvent) => void);
    onDragenter?: ((payload: DragEvent) => void);
    onDragexit?: ((payload: DragEvent) => void);
    onDragleave?: ((payload: DragEvent) => void);
    onDragover?: ((payload: DragEvent) => void);
    onDragstart?: ((payload: DragEvent) => void);
    onDrop?: ((payload: DragEvent) => void);
    onDurationchange?: ((payload: Event) => void);
    onEmptied?: ((payload: Event) => void);
    onEncrypted?: ((payload: Event) => void);
    onEnded?: ((payload: Event) => void);
    onError?: ((payload: Event) => void);
    onFocus?: ((payload: FocusEvent) => void);
    onFocusin?: ((payload: FocusEvent) => void);
    onFocusout?: ((payload: FocusEvent) => void);
    onInput?: ((payload: Event) => void);
    onInvalid?: ((payload: Event) => void);
    onKeydown?: ((payload: KeyboardEvent) => void);
    onKeypress?: ((payload: KeyboardEvent) => void);
    onKeyup?: ((payload: KeyboardEvent) => void);
    onLoad?: ((payload: Event) => void);
    onLoadeddata?: ((payload: Event) => void);
    onLoadedmetadata?: ((payload: Event) => void);
    onLoadstart?: ((payload: Event) => void);
    onMousedown?: ((payload: MouseEvent) => void);
    onMouseenter?: ((payload: MouseEvent) => void);
    onMouseleave?: ((payload: MouseEvent) => void);
    onMousemove?: ((payload: MouseEvent) => void);
    onMouseout?: ((payload: MouseEvent) => void);
    onMouseover?: ((payload: MouseEvent) => void);
    onMouseup?: ((payload: MouseEvent) => void);
    onPaste?: ((payload: ClipboardEvent) => void);
    onPause?: ((payload: Event) => void);
    onPlay?: ((payload: Event) => void);
    onPlaying?: ((payload: Event) => void);
    onPointercancel?: ((payload: PointerEvent) => void);
    onPointerdown?: ((payload: PointerEvent) => void);
    onPointerenter?: ((payload: PointerEvent) => void);
    onPointerleave?: ((payload: PointerEvent) => void);
    onPointermove?: ((payload: PointerEvent) => void);
    onPointerout?: ((payload: PointerEvent) => void);
    onPointerover?: ((payload: PointerEvent) => void);
    onPointerup?: ((payload: PointerEvent) => void);
    onProgress?: ((payload: Event) => void);
    onRatechange?: ((payload: Event) => void);
    onReset?: ((payload: Event) => void);
    onScroll?: ((payload: Event) => void);
    onScrollend?: ((payload: Event) => void);
    onSeeked?: ((payload: Event) => void);
    onSeeking?: ((payload: Event) => void);
    onSelect?: ((payload: Event) => void);
    onStalled?: ((payload: Event) => void);
    onSubmit?: ((payload: Event) => void);
    onSuspend?: ((payload: Event) => void);
    onTimeupdate?: ((payload: Event) => void);
    onTouchcancel?: ((payload: TouchEvent) => void);
    onTouchend?: ((payload: TouchEvent) => void);
    onTouchmove?: ((payload: TouchEvent) => void);
    onTouchstart?: ((payload: TouchEvent) => void);
    onTransitionend?: ((payload: TransitionEvent) => void);
    onTransitionstart?: ((payload: TransitionEvent) => void);
    onVolumechange?: ((payload: Event) => void);
    onWaiting?: ((payload: Event) => void);
    onWheel?: ((payload: WheelEvent) => void);
    placeholder?: string;
    prefix?: string;
    property?: string;
    radiogroup?: string;
    resource?: string;
    results?: Numberish;
    role?: string;
    security?: string;
    spellcheck?: Booleanish;
    style?: StyleValue;
    tabindex?: Numberish;
    title?: string;
    translate?: "yes" | "no";
    type?: string;
    typeof?: string;
    unselectable?: "on" | "off";
    vocab?: string;
}

Hierarchy (view full)

Properties

about? accesskey? aria-activedescendant? aria-atomic? aria-autocomplete? aria-busy? aria-checked? aria-colcount? aria-colindex? aria-colspan? aria-controls? aria-current? aria-describedby? aria-details? aria-disabled? aria-dropeffect? aria-errormessage? aria-expanded? aria-flowto? aria-grabbed? aria-haspopup? aria-hidden? aria-invalid? aria-keyshortcuts? aria-label? aria-labelledby? aria-level? aria-live? aria-modal? aria-multiline? aria-multiselectable? aria-orientation? aria-owns? aria-placeholder? aria-posinset? aria-pressed? aria-readonly? aria-relevant? aria-required? aria-roledescription? aria-rowcount? aria-rowindex? aria-rowspan? aria-selected? aria-setsize? aria-sort? aria-valuemax? aria-valuemin? aria-valuenow? aria-valuetext? autocapitalize? autocorrect? autosave? class? color? contenteditable? contextmenu? datatype? dir? draggable? hidden? id? inert? inlist? innerHTML? inputmode? is? itemid? itemprop? itemref? itemscope? itemtype? lang? onAbort? onAnimationend? onAnimationiteration? onAnimationstart? onAuxclick? onBeforeinput? onBlur? onCanplay? onCanplaythrough? onChange? onClick? onCompositionend? onCompositionstart? onCompositionupdate? onContextmenu? onCopy? onCut? onDblclick? onDrag? onDragend? onDragenter? onDragexit? onDragleave? onDragover? onDragstart? onDrop? onDurationchange? onEmptied? onEncrypted? onEnded? onError? onFocus? onFocusin? onFocusout? onInput? onInvalid? onKeydown? onKeypress? onKeyup? onLoad? onLoadeddata? onLoadedmetadata? onLoadstart? onMousedown? onMouseenter? onMouseleave? onMousemove? onMouseout? onMouseover? onMouseup? onPaste? onPause? onPlay? onPlaying? onPointercancel? onPointerdown? onPointerenter? onPointerleave? onPointermove? onPointerout? onPointerover? onPointerup? onProgress? onRatechange? onReset? onScroll? onScrollend? onSeeked? onSeeking? onSelect? onStalled? onSubmit? onSuspend? onTimeupdate? onTouchcancel? onTouchend? onTouchmove? onTouchstart? onTransitionend? onTransitionstart? onVolumechange? onWaiting? onWheel? placeholder? prefix? property? radiogroup? resource? results? role? security? spellcheck? style? tabindex? title? translate? type? typeof? unselectable? vocab?

Properties

about?: string
accesskey?: string
aria-activedescendant?: string

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

aria-atomic?: Booleanish

Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.

aria-autocomplete?:
    | "list"
    | "none"
    | "inline"
    | "both"

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

aria-busy?: Booleanish

Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.

aria-checked?: Booleanish | "mixed"

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.

  • aria-pressed
  • aria-selected.
aria-colcount?: Numberish

Defines the total number of columns in a table, grid, or treegrid.

aria-colindex.

aria-colindex?: Numberish

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.

  • aria-colcount
  • aria-colspan.
aria-colspan?: Numberish

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-colindex
  • aria-rowspan.
aria-controls?: string

Identifies the element (or elements) whose contents or presence are controlled by the current element.

aria-owns.

aria-current?:
    | "time"
    | Booleanish
    | "page"
    | "step"
    | "location"
    | "date"

Indicates the element that represents the current item within a container or set of related elements.

aria-describedby?: string

Identifies the element (or elements) that describes the object.

aria-labelledby

aria-details?: string

Identifies the element that provides a detailed, extended description for the object.

aria-describedby.

aria-disabled?: Booleanish

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.

  • aria-hidden
  • aria-readonly.
aria-dropeffect?:
    | "link"
    | "none"
    | "copy"
    | "move"
    | "execute"
    | "popup"

Indicates what functions can be performed when a dragged object is released on the drop target.

in ARIA 1.1

aria-errormessage?: string

Identifies the element that provides an error message for the object.

  • aria-invalid
  • aria-describedby.
aria-expanded?: Booleanish

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

aria-flowto?: string

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

aria-grabbed?: Booleanish

Indicates an element's "grabbed" state in a drag-and-drop operation.

in ARIA 1.1

aria-haspopup?:
    | "tree"
    | "dialog"
    | "menu"
    | Booleanish
    | "listbox"
    | "grid"

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

aria-hidden?: Booleanish

Indicates whether the element is exposed to an accessibility API.

aria-disabled.

aria-invalid?: Booleanish | "grammar" | "spelling"

Indicates the entered value does not conform to the format expected by the application.

aria-errormessage.

aria-keyshortcuts?: string

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

aria-label?: string

Defines a string value that labels the current element.

aria-labelledby.

aria-labelledby?: string

Identifies the element (or elements) that labels the current element.

aria-describedby.

aria-level?: Numberish

Defines the hierarchical level of an element within a structure.

aria-live?: "off" | "assertive" | "polite"

Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.

aria-modal?: Booleanish

Indicates whether an element is modal when displayed.

aria-multiline?: Booleanish

Indicates whether a text box accepts multiple lines of input or only a single line.

aria-multiselectable?: Booleanish

Indicates that the user may select more than one item from the current selectable descendants.

aria-orientation?: "vertical" | "horizontal"

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

aria-owns?: string

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

aria-controls.

aria-placeholder?: string

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

aria-posinset?: Numberish

Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-setsize.

aria-pressed?: Booleanish | "mixed"

Indicates the current "pressed" state of toggle buttons.

  • aria-checked
  • aria-selected.
aria-readonly?: Booleanish

Indicates that the element is not editable, but is otherwise operable.

aria-disabled.

aria-relevant?:
    | "all"
    | "text"
    | "additions"
    | "additions removals"
    | "additions text"
    | "removals"
    | "removals additions"
    | "removals text"
    | "text additions"
    | "text removals"

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.

aria-atomic.

aria-required?: Booleanish

Indicates that user input is required on the element before a form may be submitted.

aria-roledescription?: string

Defines a human-readable, author-localized description for the role of an element.

aria-rowcount?: Numberish

Defines the total number of rows in a table, grid, or treegrid.

aria-rowindex.

aria-rowindex?: Numberish

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.

  • aria-rowcount
  • aria-rowspan.
aria-rowspan?: Numberish

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.

  • aria-rowindex
  • aria-colspan.
aria-selected?: Booleanish

Indicates the current "selected" state of various widgets.

  • aria-checked
  • aria-pressed.
aria-setsize?: Numberish

Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

aria-posinset.

aria-sort?:
    | "other"
    | "none"
    | "ascending"
    | "descending"

Indicates if items in a table or grid are sorted in ascending or descending order.

aria-valuemax?: Numberish

Defines the maximum allowed value for a range widget.

aria-valuemin?: Numberish

Defines the minimum allowed value for a range widget.

aria-valuenow?: Numberish

Defines the current value for a range widget.

aria-valuetext.

aria-valuetext?: string

Defines the human readable text alternative of aria-valuenow for a range widget.

autocapitalize?: string
autocorrect?: string
autosave?: string
class?: any
color?: string
contenteditable?: "inherit" | Booleanish | "plaintext-only"
contextmenu?: string
datatype?: string
dir?: string
draggable?: Booleanish
hidden?:
    | ""
    | "hidden"
    | Booleanish
    | "until-found"
id?: string
inert?: Booleanish
inlist?: any
innerHTML?: string
inputmode?:
    | "search"
    | "email"
    | "none"
    | "url"
    | "text"
    | "tel"
    | "numeric"
    | "decimal"

Hints at the type of data that might be entered by the user while editing the element or its contents

is?: string

Specify that a standard HTML element should behave like a defined custom built-in element

itemid?: string
itemprop?: string
itemref?: string
itemscope?: Booleanish
itemtype?: string
lang?: string
onAbort?: ((payload: Event) => void)
onAnimationend?: ((payload: AnimationEvent) => void)
onAnimationiteration?: ((payload: AnimationEvent) => void)
onAnimationstart?: ((payload: AnimationEvent) => void)
onAuxclick?: ((payload: MouseEvent) => void)
onBeforeinput?: ((payload: Event) => void)
onBlur?: ((payload: FocusEvent) => void)
onCanplay?: ((payload: Event) => void)
onCanplaythrough?: ((payload: Event) => void)
onChange?: ((payload: Event) => void)
onClick?: ((payload: MouseEvent) => void)
onCompositionend?: ((payload: CompositionEvent) => void)
onCompositionstart?: ((payload: CompositionEvent) => void)
onCompositionupdate?: ((payload: CompositionEvent) => void)
onContextmenu?: ((payload: MouseEvent) => void)
onCopy?: ((payload: ClipboardEvent) => void)
onCut?: ((payload: ClipboardEvent) => void)
onDblclick?: ((payload: MouseEvent) => void)
onDrag?: ((payload: DragEvent) => void)
onDragend?: ((payload: DragEvent) => void)
onDragenter?: ((payload: DragEvent) => void)
onDragexit?: ((payload: DragEvent) => void)
onDragleave?: ((payload: DragEvent) => void)
onDragover?: ((payload: DragEvent) => void)
onDragstart?: ((payload: DragEvent) => void)
onDrop?: ((payload: DragEvent) => void)
onDurationchange?: ((payload: Event) => void)
onEmptied?: ((payload: Event) => void)
onEncrypted?: ((payload: Event) => void)
onEnded?: ((payload: Event) => void)
onError?: ((payload: Event) => void)
onFocus?: ((payload: FocusEvent) => void)
onFocusin?: ((payload: FocusEvent) => void)
onFocusout?: ((payload: FocusEvent) => void)
onInput?: ((payload: Event) => void)
onInvalid?: ((payload: Event) => void)
onKeydown?: ((payload: KeyboardEvent) => void)
onKeypress?: ((payload: KeyboardEvent) => void)
onKeyup?: ((payload: KeyboardEvent) => void)
onLoad?: ((payload: Event) => void)
onLoadeddata?: ((payload: Event) => void)
onLoadedmetadata?: ((payload: Event) => void)
onLoadstart?: ((payload: Event) => void)
onMousedown?: ((payload: MouseEvent) => void)
onMouseenter?: ((payload: MouseEvent) => void)
onMouseleave?: ((payload: MouseEvent) => void)
onMousemove?: ((payload: MouseEvent) => void)
onMouseout?: ((payload: MouseEvent) => void)
onMouseover?: ((payload: MouseEvent) => void)
onMouseup?: ((payload: MouseEvent) => void)
onPaste?: ((payload: ClipboardEvent) => void)
onPause?: ((payload: Event) => void)
onPlay?: ((payload: Event) => void)
onPlaying?: ((payload: Event) => void)
onPointercancel?: ((payload: PointerEvent) => void)
onPointerdown?: ((payload: PointerEvent) => void)
onPointerenter?: ((payload: PointerEvent) => void)
onPointerleave?: ((payload: PointerEvent) => void)
onPointermove?: ((payload: PointerEvent) => void)
onPointerout?: ((payload: PointerEvent) => void)
onPointerover?: ((payload: PointerEvent) => void)
onPointerup?: ((payload: PointerEvent) => void)
onProgress?: ((payload: Event) => void)
onRatechange?: ((payload: Event) => void)
onReset?: ((payload: Event) => void)
onScroll?: ((payload: Event) => void)
onScrollend?: ((payload: Event) => void)
onSeeked?: ((payload: Event) => void)
onSeeking?: ((payload: Event) => void)
onSelect?: ((payload: Event) => void)
onStalled?: ((payload: Event) => void)
onSubmit?: ((payload: Event) => void)
onSuspend?: ((payload: Event) => void)
onTimeupdate?: ((payload: Event) => void)
onTouchcancel?: ((payload: TouchEvent) => void)
onTouchend?: ((payload: TouchEvent) => void)
onTouchmove?: ((payload: TouchEvent) => void)
onTouchstart?: ((payload: TouchEvent) => void)
onTransitionend?: ((payload: TransitionEvent) => void)
onTransitionstart?: ((payload: TransitionEvent) => void)
onVolumechange?: ((payload: Event) => void)
onWaiting?: ((payload: Event) => void)
onWheel?: ((payload: WheelEvent) => void)
placeholder?: string
prefix?: string
property?: string
radiogroup?: string
resource?: string
results?: Numberish
role?: string
security?: string
spellcheck?: Booleanish
style?: StyleValue
tabindex?: Numberish
title?: string
translate?: "yes" | "no"
type?: string
typeof?: string
unselectable?: "on" | "off"
vocab?: string