Skip to content

Commit 836a797

Browse files
Samiya CaurDevtools-frontend LUCI CQ
authored andcommitted
[PatchAgent] Add aria label & learn more button title for FRE dialog box
Bug: 406066256, 406066618 Change-Id: Ica5abcc94dcef4a1b79deba12baeb2d9d9e66d17 Fixed: 406066256, 406066618 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6437939 Auto-Submit: Samiya Caur <[email protected]> Commit-Queue: Ergün Erdoğmuş <[email protected]> Reviewed-by: Ergün Erdoğmuş <[email protected]>
1 parent c83ee4b commit 836a797

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

front_end/panels/ai_assistance/PatchWidget.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,9 @@ export class PatchWidget extends UI.Widget.Widget {
504504
],
505505
onLearnMoreClick: () => {
506506
void UI.ViewManager.ViewManager.instance().showView('chrome-ai');
507-
}
507+
},
508+
ariaLabel: lockedString(UIStringsNotTranslate.freDisclaimerHeader),
509+
learnMoreButtonTitle: lockedString(UIStringsNotTranslate.learnMore),
508510
});
509511

510512
if (result) {

0 commit comments

Comments
 (0)