Change:
Testing Repro: "getting started with accessiblity features" second step click on blue button to "open accessible view" results in an error in dev console says that "the editor is not accessible at this time" and advises to turn on screen optimized view, but I already have that on as you can see in status bar item. Version: 1.94.0-insider Commit: Date: 2024-09-24T05:04:12.797Z Electron: 30.5.1 ElectronBuildId: Chromium: 124.0.6367.243 20.16.0 V8: 12.4.254.20-electron.0 OS: Darwin arm64 23.6.0
As part of this flow - I was also confused why a new file is opened after I close the Accessible View: !
I'm getting "the editor is not accessible at this time" messages while moving focus to the Python REPL input box or the Copilot Chat input box !
seems like an issue with the walkthrough accessible view?
this looks an issue with the accessible view editor. I'm seeing a similar issue when I open the chat-panel and request the accessible view.

Discussion:
* Scheme used for output panel resources */ export const outputChannel = 'output'; <ins> /** * Scheme used for the accessible view */ export const accessibleView = 'accessible-view'; </ins> } export function matchesScheme(target: URI | string, scheme: string): boolean {

import { IChatCodeBlockContextProviderService } from '../../chat/browser/chat.js'; import { ICodeBlockActionContext } from '../../chat/browser/codeBlockPart.js'; import { getSimpleEditorOptions } from '../../codeEditor/browser/simpleEditorOptions.js'; <ins> import { Schemas } from '../../../../base/common/network.js'; import { ITextModelContentProvider, ITextModelService } from '../../../../editor/common/services/resolverService.js'; </ins> const enum DIMENSIONS { MAX_WIDTH = 600

languageId?: string; } <del> export class AccessibleView extends Disposable { </del> <ins> export class AccessibleView extends Disposable implements ITextModelContentProvider { </ins> private _editorWidget: CodeEditorWidget; private _accessiblityHelpIsShown: IContextKey<boolean>;

@ICommandService private readonly _commandService: ICommandService, @IChatCodeBlockContextProviderService private readonly _codeBlockContextProviderService: IChatCodeBlockContextProviderService, @IStorageService private readonly _storageService: IStorageService, <ins> @ITextModelService private readonly textModelResolverService: ITextModelService, </ins> @IQuickInputService private readonly _quickInputService: IQuickInputService ) { super();

readOnly: true, fontFamily: 'var(--monaco-monospace-font)' }; <ins> this.textModelResolverService.registerTextModelContentProvider(Schemas.accessibleView, this); </ins> this._editorWidget = this._register(this._instantiationService.createInstance(CodeEditorWidget, this._container, editorOptions, codeEditorWidgetOptions)); this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(() => { if (this._currentProvider && this._accessiblityHelpIsShown.get()) {

} })); } <ins> provideTextContent(resource: URI): Promise<ITextModel | null> | null { return this._getTextModel(resource); } </ins> private _resetContextKeys(): void { this._accessiblityHelpIsShown.reset();

this.calculateCodeBlocks(this._currentContent); this._updateContextKeys(provider, true); const widgetIsFocused = this._editorWidget.hasTextFocus() || this._editorWidget.hasWidgetFocus(); <del> this._getTextModel(URI.from({ path: `accessible-view-${provider.id}`, scheme: 'accessible-view', fragment: this._currentContent })).then((model) => { </del> <ins> this._getTextModel(URI.from({ path: `accessible-view-${provider.id}`, scheme: Schemas.accessibleView, fragment: this._currentContent })).then((model) => { </ins> if (!model) { return; }