Skip to content

[9.3] Add announceOnMount to conditionally rendered EuiCallOut components (#265724)#265950

Merged
alexwizp merged 1 commit intoelastic:9.3from
alexwizp:backport/9.3/pr-265724
Apr 28, 2026
Merged

[9.3] Add announceOnMount to conditionally rendered EuiCallOut components (#265724)#265950
alexwizp merged 1 commit intoelastic:9.3from
alexwizp:backport/9.3/pr-265724

Conversation

@alexwizp
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

…ts (elastic#265724)

Resolves 3 `@elastic/eui/callout-announce-on-mount` lint violations in
`@elastic/kibana-presentation` files to ensure conditionally rendered
callouts are properly handled by screen readers.

- **`project_picker_content.tsx`** — `announceOnMount` (true): error
callout appears dynamically after a failed fetch
- **`project_picker.tsx`** — `announceOnMount={false}`: readonly callout
is a static prop-based condition
- **`datasource_component.js`** — `announceOnMount={false}`: expression
args warning is a static data-shape condition

- [x] Added label `a11y:agent-pr`
- [x] Fixed all listed files

> [!WARNING]
>
> <details>
> <summary>Firewall rules blocked me from connecting to one or more
addresses (expand for details)</summary>
>
> #### I tried to connect to the following addresses, but was blocked by
firewall rules:
>
> - `ci-stats.kibana.dev`
> - Triggering command:
`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
scripts/yarn_install_scripts.js run ldd 0.8.2` (dns block)
> - Triggering command:
`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node scripts/kbn
bootstrap` (dns block)
> - Triggering command:
`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node node scripts/eslint
src/platform/packages/shared/kbn-cps-utils/components/project_picker_content.tsx
src/platform/packages/shared/kbn-cps-utils/components/project_picker.tsx
x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js
che/ms-playwright/webkit-2272/minibrowser-gtk/MiniBrowser` (dns block)
> - `clients3.google.com`
> - Triggering command:
`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon
/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon
run :build-webpack ldd 0.8.2` (dns block)
> - `detectportal.firefox.com`
> - Triggering command:
`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon
/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon
run :build-webpack ldd 0.8.2` (dns block)
> - `google.com`
> - Triggering command:
`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon
/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon
run :build-webpack ldd 0.8.2` (dns block)
> - `googlechromelabs.github.io`
> - Triggering command:
`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node install.js` (dns
block)
> - `iojs.org`
> - Triggering command: `/usr/bin/curl curl -q --fail --compressed -L -s
REDACTED -o -` (dns block)
>
> If you need me to access, download, or install something from one of
these locations, you can either:
>
> - Configure [Actions setup
steps](https://gh.io/copilot/actions-setup-steps) to set up my
environment, which run before the firewall is enabled
> - Add the appropriate URLs or hosts to the custom allowlist in this
repository's [Copilot coding agent
settings](https://github.com/elastic/kibana/settings/copilot/coding_agent)
(admins only)
>
> </details>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
(cherry picked from commit 88407ef)
@alexwizp alexwizp requested a review from kibanamachine as a code owner April 28, 2026 07:19
@alexwizp alexwizp added the backport This PR is a backport of another PR label Apr 28, 2026
@alexwizp alexwizp enabled auto-merge (squash) April 28, 2026 07:19
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
canvas 1.0MB 1.0MB +19.0B
cps 12.1KB 12.1KB +19.0B
total +38.0B

@bhavyarm bhavyarm self-requested a review April 28, 2026 12:56
@alexwizp alexwizp merged commit 796b61f into elastic:9.3 Apr 28, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants