提交 592fef42 编写于 作者: I isidor

fix build

上级 cd0fef28
......@@ -100,6 +100,9 @@ export class NotificationsList extends Themable {
},
getWidgetAriaLabel(): string {
return localize('notificationsList', "Notifications List");
},
getWidgetRole(): string {
return 'dialog'; // https://github.com/microsoft/vscode/issues/82728
}
}
}
......
......@@ -169,7 +169,6 @@ export class NotificationsToasts extends Themable implements INotificationsToast
// Create toast with item and show
const notificationList = this.instantiationService.createInstance(NotificationsList, notificationToast, {
ariaRole: 'dialog', // https://github.com/microsoft/vscode/issues/82728
verticalScrollMode: ScrollbarVisibility.Hidden
});
itemDisposables.add(notificationList);
......
......@@ -405,7 +405,8 @@ class HelpPanel extends ViewPane {
accessibilityProvider: {
getAriaLabel: (item: HelpItemBase) => {
return item.label;
}
},
getWidgetAriaLabel: () => nls.localize('remotehelp', "Remote Help")
}
}
);
......@@ -817,4 +818,3 @@ class RemoteAgentConnectionStatusListener implements IWorkbenchContribution {
const workbenchContributionsRegistry = Registry.as<IWorkbenchContributionsRegistry>(WorkbenchExtensions.Workbench);
workbenchContributionsRegistry.registerWorkbenchContribution(RemoteAgentConnectionStatusListener, LifecyclePhase.Eventually);
workbenchContributionsRegistry.registerWorkbenchContribution(RemoteWindowActiveIndicator, LifecyclePhase.Starting);
......@@ -519,7 +519,8 @@ export class TunnelPanel extends ViewPane {
} else {
return item.label;
}
}
},
getWidgetAriaLabel: () => nls.localize('tunnelView', "Tunnel View")
}
}
);
......
......@@ -212,6 +212,9 @@ export class MainPane extends ViewPane {
accessibilityProvider: {
getAriaLabel(r: ISCMRepository) {
return r.provider.label;
},
getWidgetAriaLabel() {
return MainPane.TITLE;
}
}
}) as WorkbenchList<ISCMRepository>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册