mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
polish
This commit is contained in:
@@ -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