Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets or retrieves the currently active child element.
![]() |
Syntax
object.setAttribute("ariaActivedescendant",value);var value = object.getAttribute("ariaActivedescendant");
Property values
Type: BSTR
The IHTMLElement::id property value of the descendent element.
Standards information
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
Remarks
Used in Roles | composite group textbox |
To simplify keyboard navigation, an element that gains focus may specify the currently active child element by IHTMLElement::id. The container element should change the designated descendant during a HTMLFrameSiteEvents::onkeypress 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 object.setAttribute("aria-valuenow", newValue)
.