Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Using the aria-activedescendant attribute

This article needs a technical review. How you can help.

This article describes the aria-activedescendant property.

Description

The aria-activedescendant attribute contains the ID of the currently active child object that is part of a composite widget within the Document Object Model. It makes do with the overhead of having all or more than one child focusable. As the name specifies, it helps in managing the current active child of the composite widget.

Possible effects on user agents and assistive technology 

The user agent, which is any software that retrieves, renders and facilitates end user interaction with Web content uses the aria-activedescendant property to inform the assistive technology about the active child which has focus. This active child using the aria-activedescendant property must always be visible on screen and must be a descendant of the container in the Document Object Model.

Note: Opinons may differ on how assistive technology should handle this technique. The information provided below is one of those opinions and therefore not normative.

Examples

Example 1: 

 

Code 

Working Examples:

Notes 

ARIA attributes used

Compatibility

TBD: Add support information for common UA and AT product combinations

Additional resources

Document Tags and Contributors

 Contributors to this page: rolfedh, joshbeam, sidgan, akhabibullina, Sheppy, hhillen
 Last updated by: rolfedh,