aria-placeholder attribute | ariaPlaceholder property

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Defines a short hint, like a word or phrase, to help users with data entry when a control has no value.

Syntax


<element aria-placeholder="..." ... />

Property values

Type: string

Remarks

Used in Roles
textbox

 

Aria-placeholder should not be used instead of a label. A label indicates what kinda of information is expected, while the placeholder text is a hint about the expected value.

 

 

Show: