Change:
Testing GitHub Pull Request extension. Open GitHub view on the side. Hover over an issue, and put focus in it F2 to open Accessibility View. Nothing happens I could not get the Accessibility View to work with any hover. What am I missing here?
Hm, any errors in the dev tools console?
Yeah they're not working in the scm view for me
This still does not work for me for the GitHub issues view. can you reproduce with the GitHub issues view? You should just install the GH PR extension and you should get the issues view and you can try out this there. Thanks
Here's what I see in the GH PR view - I'll try issues
it's also working for me in the github issues view - I'm using the keyboard shortcut of . are you? also works for me if I hover and click.
Works now. I was doing something wrong. Thank you. Adding verified.

Discussion:
import { ICommandService } from 'vs/platform/commands/common/commands'; import { NEW_UNTITLED_FILE_COMMAND_ID } from 'vs/workbench/contrib/files/browser/fileConstants'; import { ModesHoverController } from 'vs/editor/contrib/hover/browser/hover'; <del> import { withNullAsUndefined } from 'vs/base/common/types'; </del> <ins> import { IContextViewService } from 'vs/platform/contextview/browser/contextView'; </ins> import { EditorContextKeys } from 'vs/editor/common/editorContextKeys'; registerAccessibilityConfiguration();

class HoverAccessibleViewContribution extends Disposable { static ID: 'hoverAccessibleViewContribution'; <ins> private _options: IAccessibleViewOptions = { ariaLabel: localize('hoverAccessibleView', "Hover Accessible View"), language: 'typescript', type: AccessibleViewType.View }; </ins> constructor() { super(); <del> this._register(AccessibleViewAction.addImplementation(90, 'hover', accessor => { </del> <ins> this._register(AccessibleViewAction.addImplementation(95, 'hover', accessor => { </ins> const accessibleViewService = accessor.get(IAccessibleViewService); const codeEditorService = accessor.get(ICodeEditorService); const editor = codeEditorService.getActiveCodeEditor() || codeEditorService.getFocusedCodeEditor(); <del> if (!editor) { </del> <ins> const editorHoverContent = editor ? ModesHoverController.get(editor)?.getWidgetContent() ?? undefined : undefined; if (!editorHoverContent) { </ins> return false; } <del> const controller = ModesHoverController.get(editor); const content = withNullAsUndefined(controller?.getWidgetContent()); if (!controller || !content) { </del> <ins> accessibleViewService.show({ verbositySettingKey: 'hover', provideContent() { return editorHoverContent; }, onClose() { }, options: this._options }); return true; }, EditorContextKeys.hoverFocused)); this._register(AccessibleViewAction.addImplementation(90, 'extension-hover', accessor => { const accessibleViewService = accessor.get(IAccessibleViewService); const contextViewService = accessor.get(IContextViewService); const contextViewElement = contextViewService.getContextViewElement(); const extensionHoverContent = contextViewElement?.textContent ?? undefined; if (contextViewElement.classList.contains('accessible-view-container') || !extensionHoverContent) { // The accessible view, itself, uses the context view service to display the text. We don't want to read that. </ins> return false; } accessibleViewService.show({ verbositySettingKey: 'hover', <del> provideContent() { return content; }, onClose() { controller.focus(); }, options: { ariaLabel: localize('hoverAccessibleView', "Hover Accessible View"), language: 'typescript', type: AccessibleViewType.View } </del> <ins> provideContent() { return extensionHoverContent; }, onClose() { }, options: this._options </ins> }); return true; <del> }, EditorContextKeys.hoverFocused)); </del> <ins> })); </ins> } }

const delegate: IContextViewDelegate = { getAnchor: () => { return { x: (window.innerWidth / 2) - (DEFAULT.WIDTH / 2), y: DEFAULT.TOP }; }, render: (container) => { <ins> container.classList.add('accessible-view-container'); </ins> return this._render(provider, container); }, onHide: () => {