Skip to main content

MVCxTextBoxProperties.AccessibilityLabelText Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string AccessibilityLabelText { get; set; }

Property Value

Type Description
String

The text.

Remarks

The AccessibilityLabelText property allows you to specify the aria-label attribute of the editor is in accessibility mode (the AccessibilityCompliant property is set to true).

@Html.DevExpress().TextBox(
    settings => {
        ...
        settings.Properties.AccessibilityLabelText = "text for a screen reader";
}).GetHtml()
See Also