---
title: "ElementInternals | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface ElementInternals

The **`ElementInternals`** interface of the Document Object Model gives web developers a way to allow custom elements to fully participate in HTML forms. It provides utilities for working with these elements in the same way you would work with any standard HTML form element, and also exposes the Accessibility Object Model to the element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals)

interface ElementInternals {  
    [ariaActiveDescendantElement](#ariaactivedescendantelement): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null;  
    [ariaAtomic](#ariaatomic): string | null;  
    [ariaAutoComplete](#ariaautocomplete): string | null;  
    [ariaBrailleLabel](#ariabraillelabel): string | null;  
    [ariaBrailleRoleDescription](#ariabrailleroledescription): string | null;  
    [ariaBusy](#ariabusy): string | null;  
    [ariaChecked](#ariachecked): string | null;  
    [ariaColCount](#ariacolcount): string | null;  
    [ariaColIndex](#ariacolindex): string | null;  
    [ariaColIndexText](#ariacolindextext): string | null;  
    [ariaColSpan](#ariacolspan): string | null;  
    [ariaControlsElements](#ariacontrolselements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaCurrent](#ariacurrent): string | null;  
    [ariaDescribedByElements](#ariadescribedbyelements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaDescription](#ariadescription): string | null;  
    [ariaDetailsElements](#ariadetailselements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaDisabled](#ariadisabled): string | null;  
    [ariaErrorMessageElements](#ariaerrormessageelements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaExpanded](#ariaexpanded): string | null;  
    [ariaFlowToElements](#ariaflowtoelements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaHasPopup](#ariahaspopup): string | null;  
    [ariaHidden](#ariahidden): string | null;  
    [ariaInvalid](#ariainvalid): string | null;  
    [ariaKeyShortcuts](#ariakeyshortcuts): string | null;  
    [ariaLabel](#arialabel): string | null;  
    [ariaLabelledByElements](#arialabelledbyelements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaLevel](#arialevel): string | null;  
    [ariaLive](#arialive): string | null;  
    [ariaModal](#ariamodal): string | null;  
    [ariaMultiLine](#ariamultiline): string | null;  
    [ariaMultiSelectable](#ariamultiselectable): string | null;  
    [ariaOrientation](#ariaorientation): string | null;  
    [ariaOwnsElements](#ariaownselements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaPlaceholder](#ariaplaceholder): string | null;  
    [ariaPosInSet](#ariaposinset): string | null;  
    [ariaPressed](#ariapressed): string | null;  
    [ariaReadOnly](#ariareadonly): string | null;  
    [ariaRelevant](#ariarelevant): string | null;  
    [ariaRequired](#ariarequired): string | null;  
    [ariaRoleDescription](#ariaroledescription): string | null;  
    [ariaRowCount](#ariarowcount): string | null;  
    [ariaRowIndex](#ariarowindex): string | null;  
    [ariaRowIndexText](#ariarowindextext): string | null;  
    [ariaRowSpan](#ariarowspan): string | null;  
    [ariaSelected](#ariaselected): string | null;  
    [ariaSetSize](#ariasetsize): string | null;  
    [ariaSort](#ariasort): string | null;  
    [ariaValueMax](#ariavaluemax): string | null;  
    [ariaValueMin](#ariavaluemin): string | null;  
    [ariaValueNow](#ariavaluenow): string | null;  
    [ariaValueText](#ariavaluetext): string | null;  
    [form](#form): [HTMLFormElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLFormElement/) | null;  
    [labels](#labels): [NodeList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeList/);  
    [role](#role): string | null;  
    [shadowRoot](#shadowroot): [ShadowRoot](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShadowRoot/) | null;  
    [states](#states): [CustomStateSet](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CustomStateSet/);  
    [validationMessage](#validationmessage): string;  
    [validity](#validity): [ValidityState](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ValidityState/);  
    [willValidate](#willvalidate): boolean;  
    [checkValidity](#checkvalidity-1)(): boolean;  
    [reportValidity](#reportvalidity-1)(): boolean;  
    [setFormValue](#setformvalue-1)(  
        value: string | File | FormData | null,  
        state?: string | File | FormData | null,  
    ): void;  
    [setValidity](#setvalidity-1)(  
        flags?: [ValidityStateFlags](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ValidityStateFlags/),  
        message?: string,  
        anchor?: [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/),  
    ): void;  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.ElementInternals))

-   [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/)
    -   ElementInternals

##### Index

### Properties[](#properties)

[ariaActiveDescendantElement](#ariaactivedescendantelement) [ariaAtomic](#ariaatomic) [ariaAutoComplete](#ariaautocomplete) [ariaBrailleLabel](#ariabraillelabel) [ariaBrailleRoleDescription](#ariabrailleroledescription) [ariaBusy](#ariabusy) [ariaChecked](#ariachecked) [ariaColCount](#ariacolcount) [ariaColIndex](#ariacolindex) [ariaColIndexText](#ariacolindextext) [ariaColSpan](#ariacolspan) [ariaControlsElements](#ariacontrolselements) [ariaCurrent](#ariacurrent) [ariaDescribedByElements](#ariadescribedbyelements) [ariaDescription](#ariadescription) [ariaDetailsElements](#ariadetailselements) [ariaDisabled](#ariadisabled) [ariaErrorMessageElements](#ariaerrormessageelements) [ariaExpanded](#ariaexpanded) [ariaFlowToElements](#ariaflowtoelements) [ariaHasPopup](#ariahaspopup) [ariaHidden](#ariahidden) [ariaInvalid](#ariainvalid) [ariaKeyShortcuts](#ariakeyshortcuts) [ariaLabel](#arialabel) [ariaLabelledByElements](#arialabelledbyelements) [ariaLevel](#arialevel) [ariaLive](#arialive) [ariaModal](#ariamodal) [ariaMultiLine](#ariamultiline) [ariaMultiSelectable](#ariamultiselectable) [ariaOrientation](#ariaorientation) [ariaOwnsElements](#ariaownselements) [ariaPlaceholder](#ariaplaceholder) [ariaPosInSet](#ariaposinset) [ariaPressed](#ariapressed) [ariaReadOnly](#ariareadonly) [ariaRelevant](#ariarelevant) [ariaRequired](#ariarequired) [ariaRoleDescription](#ariaroledescription) [ariaRowCount](#ariarowcount) [ariaRowIndex](#ariarowindex) [ariaRowIndexText](#ariarowindextext) [ariaRowSpan](#ariarowspan) [ariaSelected](#ariaselected) [ariaSetSize](#ariasetsize) [ariaSort](#ariasort) [ariaValueMax](#ariavaluemax) [ariaValueMin](#ariavaluemin) [ariaValueNow](#ariavaluenow) [ariaValueText](#ariavaluetext) [form](#form) [labels](#labels) [role](#role) [shadowRoot](#shadowroot) [states](#states) [validationMessage](#validationmessage) [validity](#validity) [willValidate](#willvalidate)

### Methods[](#methods)

[checkValidity](#checkvalidity) [reportValidity](#reportvalidity) [setFormValue](#setformvalue) [setValidity](#setvalidity)

## Properties[](#properties-1)

### ariaActiveDescendantElement[](#ariaactivedescendantelement)

ariaActiveDescendantElement: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaActiveDescendantElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaactivedescendantelement)

### ariaAtomic[](#ariaatomic)

ariaAtomic: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaAtomic](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaatomic)

### ariaAutoComplete[](#ariaautocomplete)

ariaAutoComplete: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaAutoComplete](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaautocomplete)

### ariaBrailleLabel[](#ariabraillelabel)

ariaBrailleLabel: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaBrailleLabel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariabraillelabel)

### ariaBrailleRoleDescription[](#ariabrailleroledescription)

ariaBrailleRoleDescription: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaBrailleRoleDescription](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariabrailleroledescription)

### ariaBusy[](#ariabusy)

ariaBusy: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaBusy](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariabusy)

### ariaChecked[](#ariachecked)

ariaChecked: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaChecked](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariachecked)

### ariaColCount[](#ariacolcount)

ariaColCount: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaColCount](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariacolcount)

### ariaColIndex[](#ariacolindex)

ariaColIndex: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaColIndex](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariacolindex)

### ariaColIndexText[](#ariacolindextext)

ariaColIndexText: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaColIndexText](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariacolindextext)

### ariaColSpan[](#ariacolspan)

ariaColSpan: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaColSpan](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariacolspan)

### ariaControlsElements[](#ariacontrolselements)

ariaControlsElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaControlsElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariacontrolselements)

### ariaCurrent[](#ariacurrent)

ariaCurrent: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaCurrent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariacurrent)

### ariaDescribedByElements[](#ariadescribedbyelements)

ariaDescribedByElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaDescribedByElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariadescribedbyelements)

### ariaDescription[](#ariadescription)

ariaDescription: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaDescription](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariadescription)

### ariaDetailsElements[](#ariadetailselements)

ariaDetailsElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaDetailsElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariadetailselements)

### ariaDisabled[](#ariadisabled)

ariaDisabled: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaDisabled](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariadisabled)

### ariaErrorMessageElements[](#ariaerrormessageelements)

ariaErrorMessageElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaErrorMessageElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaerrormessageelements)

### ariaExpanded[](#ariaexpanded)

ariaExpanded: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaExpanded](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaexpanded)

### ariaFlowToElements[](#ariaflowtoelements)

ariaFlowToElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaFlowToElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaflowtoelements)

### ariaHasPopup[](#ariahaspopup)

ariaHasPopup: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaHasPopup](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariahaspopup)

### ariaHidden[](#ariahidden)

ariaHidden: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaHidden](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariahidden)

### ariaInvalid[](#ariainvalid)

ariaInvalid: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaInvalid](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariainvalid)

### ariaKeyShortcuts[](#ariakeyshortcuts)

ariaKeyShortcuts: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaKeyShortcuts](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariakeyshortcuts)

### ariaLabel[](#arialabel)

ariaLabel: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaLabel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#arialabel)

### ariaLabelledByElements[](#arialabelledbyelements)

ariaLabelledByElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaLabelledByElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#arialabelledbyelements)

### ariaLevel[](#arialevel)

ariaLevel: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaLevel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#arialevel)

### ariaLive[](#arialive)

ariaLive: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaLive](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#arialive)

### ariaModal[](#ariamodal)

ariaModal: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaModal](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariamodal)

### ariaMultiLine[](#ariamultiline)

ariaMultiLine: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaMultiLine](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariamultiline)

### ariaMultiSelectable[](#ariamultiselectable)

ariaMultiSelectable: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaMultiSelectable](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariamultiselectable)

### ariaOrientation[](#ariaorientation)

ariaOrientation: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaOrientation](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaorientation)

### ariaOwnsElements[](#ariaownselements)

ariaOwnsElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaOwnsElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaownselements)

### ariaPlaceholder[](#ariaplaceholder)

ariaPlaceholder: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaPlaceholder](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaplaceholder)

### ariaPosInSet[](#ariaposinset)

ariaPosInSet: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaPosInSet](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaposinset)

### ariaPressed[](#ariapressed)

ariaPressed: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaPressed](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariapressed)

### ariaReadOnly[](#ariareadonly)

ariaReadOnly: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaReadOnly](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariareadonly)

### ariaRelevant[](#ariarelevant)

ariaRelevant: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaRelevant](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariarelevant)

### ariaRequired[](#ariarequired)

ariaRequired: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaRequired](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariarequired)

### ariaRoleDescription[](#ariaroledescription)

ariaRoleDescription: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaRoleDescription](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaroledescription)

### ariaRowCount[](#ariarowcount)

ariaRowCount: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaRowCount](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariarowcount)

### ariaRowIndex[](#ariarowindex)

ariaRowIndex: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaRowIndex](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariarowindex)

### ariaRowIndexText[](#ariarowindextext)

ariaRowIndexText: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaRowIndexText](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariarowindextext)

### ariaRowSpan[](#ariarowspan)

ariaRowSpan: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaRowSpan](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariarowspan)

### ariaSelected[](#ariaselected)

ariaSelected: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaSelected](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariaselected)

### ariaSetSize[](#ariasetsize)

ariaSetSize: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaSetSize](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariasetsize)

### ariaSort[](#ariasort)

ariaSort: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaSort](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariasort)

### ariaValueMax[](#ariavaluemax)

ariaValueMax: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaValueMax](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariavaluemax)

### ariaValueMin[](#ariavaluemin)

ariaValueMin: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaValueMin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariavaluemin)

### ariaValueNow[](#ariavaluenow)

ariaValueNow: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaValueNow](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariavaluenow)

### ariaValueText[](#ariavaluetext)

ariaValueText: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[ariaValueText](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#ariavaluetext)

### `Readonly`form[](#form)

form: [HTMLFormElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLFormElement/) | null

The **`form`** read-only property of the ElementInternals interface returns the HTMLFormElement associated with this element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/form)

### `Readonly`labels[](#labels)

labels: [NodeList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeList/)

The **`labels`** read-only property of the ElementInternals interface returns the labels associated with the element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/labels)

### role[](#role)

role: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role)

Inherited from [ARIAMixin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/).[role](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ARIAMixin/#role)

### `Readonly`shadowRoot[](#shadowroot)

shadowRoot: [ShadowRoot](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShadowRoot/) | null

The **`shadowRoot`** read-only property of the ElementInternals interface returns the ShadowRoot for this element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/shadowRoot)

### `Readonly`states[](#states)

states: [CustomStateSet](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CustomStateSet/)

The **`states`** read-only property of the ElementInternals interface returns a CustomStateSet representing the possible states of the custom element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/states)

### `Readonly`validationMessage[](#validationmessage)

validationMessage: string

The **`validationMessage`** read-only property of the ElementInternals interface returns the validation message for the element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/validationMessage)

### `Readonly`validity[](#validity)

validity: [ValidityState](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ValidityState/)

The **`validity`** read-only property of the ElementInternals interface returns a ValidityState object which represents the different validity states the element can be in, with respect to constraint validation.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/validity)

### `Readonly`willValidate[](#willvalidate)

willValidate: boolean

The **`willValidate`** read-only property of the ElementInternals interface returns true if the element is a submittable element that is a candidate for constraint validation.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/willValidate)

## Methods[](#methods-1)

### checkValidity[](#checkvalidity)

-   checkValidity(): boolean[](#checkvalidity-1)
    
    The **`checkValidity()`** method of the ElementInternals interface checks if the element meets any constraint validation rules applied to it.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity)
    
    #### Returns boolean
    

### reportValidity[](#reportvalidity)

-   reportValidity(): boolean[](#reportvalidity-1)
    
    The **`reportValidity()`** method of the ElementInternals interface checks if the element meets any constraint validation rules applied to it.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity)
    
    #### Returns boolean
    

### setFormValue[](#setformvalue)

-   setFormValue(  
        value: string | File | FormData | null,  
        state?: string | File | FormData | null,  
    ): void[](#setformvalue-1)
    
    The **`setFormValue()`** method of the ElementInternals interface sets the element's submission value and state, communicating these to the user agent.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue)
    
    #### Parameters
    
    -   value: string | File | FormData | null
    -   `Optional`state: string | File | FormData | null
    
    #### Returns void
    

### setValidity[](#setvalidity)

-   setValidity(  
        flags?: [ValidityStateFlags](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ValidityStateFlags/),  
        message?: string,  
        anchor?: [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/),  
    ): void[](#setvalidity-1)
    
    The **`setValidity()`** method of the ElementInternals interface sets the validity of the element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/setValidity)
    
    #### Parameters
    
    -   `Optional`flags: [ValidityStateFlags](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ValidityStateFlags/)
    -   `Optional`message: string
    -   `Optional`anchor: [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/)
    
    #### Returns void
