Open meganrogge opened 4 months ago
need to port the terminal accessibility help over to using the new accessible view registry
it's returning here bc it's not an instance of AdvancedContentProvider
getProvider
is not async, so this would be a bit involved
AccessibleViewRegistry.register({
type: AccessibleViewType.Help,
priority: 105,
name: 'terminal',
getProvider: (accessor) => {
const instantiationService = accessor.get(IInstantiationService);
const terminalService = accessor.get(ITerminalService);
terminalService.getActiveOrCreateInstance().then(async instance => {
await terminalService.revealActiveTerminal();
const terminal = instance?.xterm;
if (!terminal) {
return;
}
return instantiationService.createInstance(TerminalAccessibilityHelpProvider, instance, terminal);
});
}
});
we can now use onDidChangeContent
, so this should be doable
alt+f2
with screen reader mode enabledctrlCmd+shift+o
to go to symbol