aria-activedescendant attribute | ariaActivedescendant property
Sets or retrieves the currently active child element.
<element aria-activedescendant="p" ... >
object.setAttribute("aria-activedescendant",value);var value = object.getAttribute("aria-activedescendant");
The id property value of the descendent element.
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
|Used in Roles||
To simplify keyboard navigation, an element that gains focus may specify the currently active child element by id. The container element should change the designated descendant during a keypress event. The container should also ensure that the current child has a style that visibly shows it is active, such as an outline or different background color.
Note For cross-browser compatibility, always use the WAI-ARIA attribute syntax to access and modify ARIA properties, for example
Build date: 11/16/2013