Skip to content

make integrated browser attach to chat feature kb accessible#300465

Open
meganrogge wants to merge 1 commit intomainfrom
merogge/integrated-fix
Open

make integrated browser attach to chat feature kb accessible#300465
meganrogge wants to merge 1 commit intomainfrom
merogge/integrated-fix

Conversation

@meganrogge
Copy link
Collaborator

@meganrogge meganrogge commented Mar 10, 2026

fix #300216

demo.mov

Copilot AI review requested due to automatic review settings March 10, 2026 15:28
@meganrogge meganrogge self-assigned this Mar 10, 2026
@meganrogge meganrogge requested review from jruales and kycutler and removed request for Copilot March 10, 2026 15:28
@meganrogge meganrogge added this to the 1.112.0 milestone Mar 10, 2026
@meganrogge meganrogge enabled auto-merge (squash) March 10, 2026 15:28

const { result } = await debuggers.sendCommand('Runtime.evaluate', {
expression: `(() => {
const el = document.activeElement;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get the node ID of the focused element to avoid duplicating the attachment data logic? Copilot claims something like this might work:

const { result } = await debuggers.sendCommand('Runtime.evaluate', {
  expression: 'document.activeElement',
  returnByValue: false
});

const { nodeId } = await debuggers.sendCommand('DOM.requestNode', {
  objectId: result.objectId!
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrated browser attach to chat feature is not keyboard friendly

2 participants