Code change:
Using here, I cannot enter the accessible buffer https://user-
The issue is that here, the default tab behavior is to focus the terminal tabs element edit: hard to repro, that's not the cause
ok this happens when is not applied to . See here that the buffer editor does get focused here, but you cannot see it https://user-
Repro: run some commands - - - Try to wasn't applied to so the accessible buffer isn't visible
https://user-

Related discussion:
text: this._bufferEditor.setScrollTop(this._bufferEditor.getScrollHeight()); } <del> async createQuickPick(): Promise<IQuickPick<IQuickPickItem> | undefined> { if (!this._focusedContextKey.get()) { await this.show(); } </del> <ins> async createQuickPick(): Promise<IQuickPick<IAccessibleBufferQuickPickItem> | undefined> { let currentPosition = withNullAsUndefined(this._bufferEditor.getPosition()); </ins> this._inQuickPick = true; const commands = this._instance.capabilities.get(TerminalCapability.CommandDetection)?.commands; if (!commands?.length) { return; } <del> const quickPickItems: IQuickPickItem[] = []; </del> <ins> const quickPickItems: IAccessibleBufferQuickPickItem[] = []; </ins> for (const command of commands) { <del> let line = command.marker?.line; </del> <ins> const line = command.marker?.line; </ins> if (!line || !command.command.length) { continue; } <del> line = this._bufferToEditorIndex.get(line); if (!line) { continue; } </del> quickPickItems.push( { label: localize('terminal.integrated.symbolQuickPick.labelNoExitCode', '{0}', command.command), <del> meta: JSON.stringify({ line: line + 1, exitCode: command.exitCode }) </del> <ins> lineNumber: line + 1, exitCode: command.exitCode </ins> }); } <del> const quickPick = this._quickInputService.createQuickPick<IQuickPickItem>(); </del> <ins> const quickPick = this._quickInputService.createQuickPick<IAccessibleBufferQuickPickItem>(); quickPick.canSelectMany = false; quickPick.onDidChangeActive(() => { const activeItem = quickPick.activeItems[0]; if (activeItem.exitCode) { this._audioCueService.playAudioCue(AudioCue.error, true); } this._bufferEditor.revealLine(activeItem.lineNumber, 0); }); quickPick.onDidHide(() => { if (currentPosition) { this._bufferEditor.setPosition(currentPosition); this._bufferEditor.revealLineInCenter(currentPosition.lineNumber); } quickPick.dispose(); this._inQuickPick = false; }); </ins> quickPick.onDidAccept(() => { const item = quickPick.activeItems[0]; const model = this._bufferEditor.getModel(); <del> if (!model || !item.meta) { </del> <ins> if (!model) { </ins> return; } <ins> if (!item && currentPosition) { // reset this._bufferEditor.setPosition(currentPosition); } else { this._bufferEditor.setSelection({ startLineNumber: item.lineNumber, startColumn: 1, endLineNumber: item.lineNumber, endColumn: 1 }); currentPosition = this._bufferEditor.getSelection()?.getPosition(); } </ins> quickPick.hide(); <del> const data: { line: number; exitCode: number } = JSON.parse(item.meta); this._bufferEditor.setSelection({ startLineNumber: data.line, startColumn: 1, endLineNumber: data.line, endColumn: 1 }); this._bufferEditor.revealLine(data.line); </del> this._inQuickPick = false; return; }); <del> quickPick.onDidChangeActive(() => { const data = quickPick.activeItems?.[0]?.meta; if (data && JSON.parse(data).exitCode) { this._audioCueService.playAudioCue(AudioCue.error, true); } }); </del> quickPick.items = quickPickItems.reverse(); return quickPick; } async show(): Promise<void> { await this._updateEditor(); <del> this._prependNewLine = true; </del> this._accessibleBuffer.tabIndex = -1; this._bufferEditor.layout({ width: this._xtermElement.clientWidth, height: this._xtermElement.clientHeight }); this._accessibleBuffer.classList.add(CssClass.Active);