Gets or sets which changes to a live region are relevant.
HRESULT IHTMLElement5::get_ariaRelevant(BSTR *p);HRESULT IHTMLElement5::put_ariaRelevant(BSTR v);
- Pointer to a variable of type BSTR that receives a space-delimited list of one or more of the following values:
- BSTR that specifies a space-delimited list of one or more of the following values:
additions Insertion of nodes into the live region should be considered relevant. removals Deletion of nodes should be considered relevant. text Changes to the textual content of existing nodes should be considered relevant. all Equivalent to
additions removals text.
Returns S_OK if successful, or an error value otherwise.
The aria-relevant setting gives a hint about what types of changes are relevant and should be announced by assistive technology. Any change that is not relevant should be treated as if the region had aria-live="off" and should not be announced.
The default behavior is equivalent to
additions text. Updates are announced only as nodes are added, or as text is added or removed.