Open GitHubHubus opened 5 years ago
if(dropdownLabel.length) {
// MDN `aria-labelledby` description: Indicates the IDs of the elements that are the labels for the object.
self.dropdownContainer.attr("aria-labelledby", dropdownLabel[0].id);
}
I changed it to:
if(dropdownLabel.length && dropdownLabel[0].id) {
// MDN `aria-labelledby` description: Indicates the IDs of the elements that are the labels for the object.
self.dropdownContainer.attr("aria-labelledby", dropdownLabel[0].id);
}
Hello. In![screenshot 1](https://user-images.githubusercontent.com/11797167/43572323-49c305a4-9650-11e8-9f81-84e91270686b.png)
dropdownContainer
automatically put the attributearia-labelledby
.I saw documentation and didn't find how I can remove this attribute from
span
container. Is it possible?