File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/vs/workbench/contrib/chat/browser/actions Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { IChatWidgetService } from '../chat.js';
14
14
import { ChatContextKeys } from '../../common/chatContextKeys.js' ;
15
15
import { ChatAgentLocation } from '../../common/constants.js' ;
16
16
import { isResponseVM } from '../../common/chatViewModel.js' ;
17
+ import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from '../../../../../platform/accessibility/common/accessibility.js' ;
17
18
18
19
export const ACTION_ID_FOCUS_CHAT_CONFIRMATION = 'workbench.action.chat.focusConfirmation' ;
19
20
@@ -29,7 +30,8 @@ class AnnounceChatConfirmationAction extends Action2 {
29
30
primary : KeyMod . Alt | KeyCode . KeyA ,
30
31
when : ContextKeyExpr . and (
31
32
ChatContextKeys . location . isEqualTo ( ChatAgentLocation . Panel ) ,
32
- ChatContextKeys . inChatSession
33
+ ChatContextKeys . inChatSession ,
34
+ CONTEXT_ACCESSIBILITY_MODE_ENABLED
33
35
)
34
36
} ,
35
37
menu : [
You can’t perform that action at this time.
0 commit comments