aria-secret attribute | ariaSecret property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the secret state of this element.
![]() |
Syntax
| HTML |
|---|
<element aria-secret="p" ... > |
| JavaScript |
|---|
object.setAttribute("aria-secret",value);var value = object.getAttribute("aria-secret");
|
Property values
Type: String
The secret state.
Remarks
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
Build date: 2/13/2012
