mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-05 15:36:22 +01:00
polish
This commit is contained in:
1 parent
6b8667ad88
commit
2467eab133
1 file changed
+1
-1
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user