提交 2467eab1 编写于 作者: I isidor

polish

上级 6b8667ad
......@@ -571,7 +571,7 @@ export class ListView<T> implements ISpliceable<T>, IDisposable {
const role = this.ariaProvider.getRole ? this.ariaProvider.getRole(item.element) : 'treeitem';
item.row!.domNode!.setAttribute('role', role);
const checked = this.ariaProvider.isChecked ? this.ariaProvider.isChecked(item.element) : undefined;
if (checked !== undefined) {
if (typeof checked !== 'undefined') {
item.row!.domNode!.setAttribute('aria-checked', String(checked));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册