JavaScript Element ariaActiveDescendantElement Property
Beginner
5 min read
Updated: Nov 2026
3 examples
Property
Definition
Element.ariaActiveDescendantElement is the current active descendant when focus is on a composite widget, combobox, textbox, group, or application (MDN). It returns an HTMLElement (or subclass), or null if none. Prefer it over the aria-activedescendant attribute when you want a live element reference (no id required).
Read the notes below before you get or set this property. Prefer feature detection when support is limited.
Syntax
Use el.ariaActiveDescendantElement. Start with this line.
JavaScript
element.ariaActiveDescendantElement
Call
What it does
element.ariaActiveDescendantElement
Primary signature.
Built into the browser. Read or assign el.ariaActiveDescendantElement — no import required.
Library declarations
JavaScript
element.ariaActiveDescendantElement
Parameters
This member has no parameters beyond those shown in the signature.
Return Value
Return Value
Description
*
The current value of el.ariaActiveDescendantElement.
JavaScript Examples
Example 1 — Get Active Descendant (MDN)
Read the live element from a listbox that uses the attribute.
set via property
— or —
set via aria-activedescendant id
How It Works
Detect the property. Baseline 2025 — not on every older engine.
Modern path: assign the element directly.
Fallback: set aria-activedescendant to an id.
Fallback needs an id on the option element.
Compatibility
Browser Support
Element.ariaActiveDescendantElement is Baseline 2025 on MDN (newly available since April 2025). Feature-detect and keep an aria-activedescendant id fallback for older engines.
✓ Baseline 2025
Element.ariaActiveDescendantElement
Reflected active descendant element — Baseline newly available.
2025Baseline
Google ChromeSupported · Desktop & Mobile
Full support
Mozilla FirefoxSupported · Desktop & Mobile
Full support
Apple SafariSupported · macOS & iOS
Full support
Microsoft EdgeSupported · Chromium
Full support
Internet ExplorerNo native support · Use a polyfill
Polyfill
OperaSupported · Modern versions
Full support
Samsung InternetSupported · Android
Full support
Android WebViewSupported · Modern WebView
Full support
ariaActiveDescendantElementBaseline 2025
Bottom line: Detect "ariaActiveDescendantElement" in Element.prototype. Prefer the property for live element refs; fall back to aria-activedescendant + id when missing.
Frequently Asked Questions
An HTMLElement (subclass) that is the current active descendant for a composite widget, or null if there is none (MDN).
No. MDN marks it Baseline 2025 (newly available since April 2025). It is not Deprecated, Experimental, or Non-standard. Older browsers may still lack it — feature-detect.
The attribute uses an id string. The property uses a live Element reference. The referenced element does not need an id. Setting the property clears the corresponding attribute (MDN).
For listboxes, comboboxes, textboxes, groups, or applications where focus stays on a container while a child option is the active one for assistive tech (MDN).
Yes. Assign an Element (or null). MDN: if you set the property, the aria-activedescendant attribute is cleared.
Yes. Custom elements can use ElementInternals.ariaActiveDescendantElement for the same relationship from inside a component.