Skip to content

Commit 64180fc

Browse files
AlinaVarkkiDevtools-frontend LUCI CQ
authored andcommitted
[RPP][AI] Make the 'settings panel' link in the fre dialog accessible by keyboard
Bug: 406549032 Change-Id: I3430367f331a96530f1c6f872bf2fb8ad1feab57 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6403236 Auto-Submit: Alina Varkki <[email protected]> Commit-Queue: Alina Varkki <[email protected]> Reviewed-by: Jack Franklin <[email protected]> Commit-Queue: Jack Franklin <[email protected]>
1 parent 49b2a98 commit 64180fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,15 +565,17 @@ export class EntryLabelOverlay extends HTMLElement {
565565
// clang-format off
566566
content: html`
567567
${lockedString(UIStringsNotTranslate.freDisclaimerControlSettingFrom)}
568-
<x-link
568+
<button
569569
@click=${() => {
570570
void UI.ViewManager.ViewManager.instance().showView('chrome-ai');
571571
}}
572572
class="link"
573+
role="link"
573574
jslog=${VisualLogging.link('open-ai-settings').track({
574575
click: true
575576
})}
576-
>${lockedString(UIStringsNotTranslate.settingsPanel)}</x-link>`,
577+
tabindex="0"
578+
>${lockedString(UIStringsNotTranslate.settingsPanel)}</button>`,
577579
// clang-format on
578580
},
579581
],

0 commit comments

Comments
 (0)