Skip to main content

ariaLabel

Optional. Sets the accessible name of the input of Combo, which a screen reader announces when focus enters the combo box

Usage​

ariaLabel?: string;

Example​

const combo = new dhx.Combobox("combo_container", {
ariaLabel: "Country",
data: countries
});

The value is rendered as the aria-label attribute of the input with the combobox role. If the property is not set, the input is named "Select value" when the combo box is in the readOnly mode and "Type or select value" otherwise.

Related article: Accessibility support: Combobox

Change log:

added in v9.4