From 89c0d8f641268ca73eb95abb7b539ddeb2664326 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 25 May 2026 13:15:40 +0000 Subject: [PATCH 1/2] Initial plan From 0dbf718cc7f5e5f3d91656fb300d20265d61e665 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 25 May 2026 13:35:17 +0000 Subject: [PATCH 2/2] fix: add aria-label to Auto-included badge for screen reader announcement The EuiBadge in the library toggle row now includes an aria-label that combines the badge label, tooltip title, and tooltip body text so that screen readers announce the tooltip content when the element receives focus. Agent-Logs-Url: https://github.com/elastic/kibana/sessions/854fa800-c0e6-4cf1-bf52-2982ef7aa033 Co-authored-by: bhavyarm <7074629+bhavyarm@users.noreply.github.com> --- .../components/agents/common/library_toggle_row.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/x-pack/platform/plugins/shared/agent_builder/public/application/components/agents/common/library_toggle_row.tsx b/x-pack/platform/plugins/shared/agent_builder/public/application/components/agents/common/library_toggle_row.tsx index 92526d34e350a..8d86ef477c5d9 100644 --- a/x-pack/platform/plugins/shared/agent_builder/public/application/components/agents/common/library_toggle_row.tsx +++ b/x-pack/platform/plugins/shared/agent_builder/public/application/components/agents/common/library_toggle_row.tsx @@ -104,7 +104,15 @@ export const LibraryToggleRow: React.FC = ({ ) : undefined } > - + {disabledBadgeLabel ?? 'Auto-included'}