Skip to main content
A newer version of this page is available. .
Tab

ASPxButton.AccessibilityLabelText Property

Specifies the button’s label text for a screen reader.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string AccessibilityLabelText { get; set; }

Property Value

Type Default Description
String String.Empty

The text.

Remarks

The AccessibilityLabelText property allows you to specify the aria-label attribute of the input element.

Note

The ASPxButton control generates an input element with an empty value if you specify the AccessibilityLabelText property while the Text property value is empty. Otherwise, the control (whose Text and AccessibilityLabelText properties are not specified) generates a submit input element even if the UseSubmitBehavior property is set to false.

<dx:ASPxButton ID="button_1" AccessibilityLabelText="text for a screen reader" ... />
See Also