Gets or sets the currently active child element.
HRESULT IHTMLElement5::get_ariaActivedescendant(BSTR *p);HRESULT IHTMLElement5::put_ariaActivedescendant(BSTR v);
- Pointer to a variable of type BSTR that receives the id property value of the descendent element.
- BSTR that specifies the id property value of the descendent element.
Returns S_OK if successful, or an error value otherwise.
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.