set aria-label for radio buttons (#6835)

This commit is contained in:
Kim Santiago
2019-08-20 15:17:37 -07:00
committed by GitHub
parent 7bd8a6f2b1
commit f64c2775b0

View File

@@ -81,6 +81,7 @@ export class RadioButton extends Widget {
public set label(val: string) {
this._label.innerText = val;
this.inputElement.setAttribute('aria-label', val);
}
}