Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Internet Explorer
Web Applications
 aria-activedescendant attribute | a...
aria-activedescendant attribute | ariaActivedescendant property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the currently active child element.

Internet Explorer 8

Syntax

HTML
<element aria-activedescendant="p" ... >
JavaScript
object.setAttribute("aria-activedescendant",value);var value = object.getAttribute("aria-activedescendant");

Property values

Type: String

The id property value of the descendent element.

Remarks

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 object.setAttribute("aria-valuenow", newValue).

See also

Accessible Rich Internet Applications (ARIA)

 

 

Build date: 2/13/2012

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
ACCESS      desrk ... dhaidhl   |   Edit   |   Show History
WE GO TO DEVELOP IDEAS OF FREE ACCESS HTML
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker