aria-describedby attribute | ariaDescribedby property
[This documentation is preliminary and is subject to change.]
Sets or retrieves a list of elements that describe the current object.
![]() |
Syntax
| HTML |
|---|
<element aria-describedby="p" ... > |
| JavaScript |
|---|
object.setAttribute("aria-describedby",value);var value = object.getAttribute("aria-describedby");
|
Property values
Type: String
A space-separated list of id property values.
Remarks
This property defines element relationships and associations that cannot be readily determined from the document structure.
The ariaDescribedby property is intended to provide additional information which some users might need, and supplements the basic information provided by label.
If more than one id property is specified, all elements are combined together to create a single description.
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)
- Reference
- ariaControls
- ariaFlowto
- ariaLabelledby
- ariaOwns
- ariaPosinset
- ariaSetsize
Build date: 2/13/2012
Looks like adding a tabIndex to the div will also make it accessible.
http://msdn.microsoft.com/en-us/library/ms528445(v=VS.85).aspx
- 2/3/2011
- mbenny
- 11/12/2010
- pandaPowder
