Если я добавлю их вот так в контроллер:
Код: Выделить всё
//checkboxListItem is the object representing the checkbox/label collection
checkboxListItem.Attributes.Add("aria-labelledby", ${uniqueLabelOfTheCheckBox.ID}_{indexOfFacet});
checkBoxList.Items.Add(checkboxListItem); //adds the object to the ASP checkboxList
Подробнее здесь: https://stackoverflow.com/questions/787 ... -aspcheckb