Skip to content

Add announceOnMount to conditionally rendered EuiCallOut components#265724

Merged
alexwizp merged 3 commits intomainfrom
copilot/fix-eslint-issues-announce-on-mount
Apr 28, 2026
Merged

Add announceOnMount to conditionally rendered EuiCallOut components#265724
alexwizp merged 3 commits intomainfrom
copilot/fix-eslint-issues-announce-on-mount

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

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.tsxannounceOnMount (true): error callout appears dynamically after a failed fetch
  • project_picker.tsxannounceOnMount={false}: readonly callout is a static prop-based condition
  • datasource_component.jsannounceOnMount={false}: expression args warning is a static data-shape condition

Checklist

  • Added label a11y:agent-pr
  • Fixed all listed files

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

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:

…mponents

Fixes @elastic/eui/callout-announce-on-mount lint violations across
@elastic/kibana-presentation files for better accessibility.

Agent-Logs-Url: https://github.com/elastic/kibana/sessions/0d5db8ee-8eb5-430e-9af0-35dc45a04668

Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix @elastic/eui/callout-announce-on-mount lint violations Add announceOnMount to conditionally rendered EuiCallOut components Apr 27, 2026
Copilot AI requested a review from alexwizp April 27, 2026 10:24
@alexwizp
Copy link
Copy Markdown
Contributor

/ci

@alexwizp alexwizp added Project:Accessibility v9.4.0 v9.5.0 v9.3.4 backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes a11y:agent-pr PR has been created by the agent labels Apr 27, 2026
@alexwizp alexwizp marked this pull request as ready for review April 27, 2026 12:01
@alexwizp alexwizp requested a review from a team as a code owner April 27, 2026 12:01
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-accessibility (Project:Accessibility)

@alexwizp
Copy link
Copy Markdown
Contributor

/ci

@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #200 / Entity Analytics - Entity Resolution @ess @serverless @skipInServerlessMKI Entity Resolution CSV Upload "before all" hook for "should link matching entities to a target"
  • [job] [logs] Jest Integration Tests #9 / switch task claiming strategies should switch from default to update_by_query and claim tasks that were running during shutdown
  • [job] [logs] Jest Integration Tests #9 / switch task claiming strategies should switch from update_by_query to default and claim tasks that were running during shutdown

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 13.7KB 13.7KB +38.0B
spaces 235.8KB 235.8KB +19.0B
total +76.0B

cc @alexwizp @Copilot

Copy link
Copy Markdown
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

kibana-presentation changes LGTM
code review only

@alexwizp alexwizp merged commit 88407ef into main Apr 28, 2026
16 checks passed
@alexwizp alexwizp deleted the copilot/fix-eslint-issues-announce-on-mount branch April 28, 2026 05:25
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 9.3, 9.4

https://github.com/elastic/kibana/actions/runs/25035540191

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

Status Branch Result
9.3 Backport failed because of merge conflicts
9.4

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 265724

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Apr 28, 2026
…mponents (#265724) (#265933)

# Backport

This will backport the following commits from `main` to `9.4`:
- [Add `announceOnMount` to conditionally rendered `EuiCallOut`
components (#265724)](#265724)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"Copilot","email":"198982749+Copilot@users.noreply.github.com"},"sourceCommit":{"committedDate":"2026-04-28T05:24:59Z","message":"Add
`announceOnMount` to conditionally rendered `EuiCallOut` components
(#265724)\n\nResolves 3 `@elastic/eui/callout-announce-on-mount` lint
violations in\n`@elastic/kibana-presentation` files to ensure
conditionally rendered\ncallouts are properly handled by screen
readers.\n\n- **`project_picker_content.tsx`** — `announceOnMount`
(true): error\ncallout appears dynamically after a failed fetch\n-
**`project_picker.tsx`** — `announceOnMount={false}`: readonly
callout\nis a static prop-based condition\n-
**`datasource_component.js`** — `announceOnMount={false}`:
expression\nargs warning is a static data-shape condition\n\n###
Checklist\n- [x] Added label `a11y:agent-pr`\n- [x] Fixed all listed
files\n\n> [!WARNING]\n>\n> <details>\n> <summary>Firewall rules blocked
me from connecting to one or more\naddresses (expand for
details)</summary>\n>\n> #### I tried to connect to the following
addresses, but was blocked by\nfirewall rules:\n>\n> -
`ci-stats.kibana.dev`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\nscripts/yarn_install_scripts.js
run ldd 0.8.2` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
scripts/kbn\nbootstrap` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node node
scripts/eslint\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker_content.tsx\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker.tsx\nx-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js\nche/ms-playwright/webkit-2272/minibrowser-gtk/MiniBrowser`
(dns block)\n> - `clients3.google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `detectportal.firefox.com`\n>
- Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> -
`googlechromelabs.github.io`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
install.js` (dns\nblock)\n> - `iojs.org`\n> - Triggering command:
`/usr/bin/curl curl -q --fail --compressed -L -s\nREDACTED -o -` (dns
block)\n>\n> If you need me to access, download, or install something
from one of\nthese locations, you can either:\n>\n> - Configure [Actions
setup\nsteps](https://gh.io/copilot/actions-setup-steps) to set up
my\nenvironment, which run before the firewall is enabled\n> - Add the
appropriate URLs or hosts to the custom allowlist in this\nrepository's
[Copilot coding
agent\nsettings](https://github.com/elastic/kibana/settings/copilot/coding_agent)\n(admins
only)\n>\n> </details>\n\n---------\n\nCo-authored-by:
copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"88407efb459874607dbddad2988c960482dbbe1e","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","💝community","backport:version","v9.4.0","a11y:agent-pr","v9.5.0","v9.3.4"],"title":"Add
`announceOnMount` to conditionally rendered `EuiCallOut`
components","number":265724,"url":"https://github.com/elastic/kibana/pull/265724","mergeCommit":{"message":"Add
`announceOnMount` to conditionally rendered `EuiCallOut` components
(#265724)\n\nResolves 3 `@elastic/eui/callout-announce-on-mount` lint
violations in\n`@elastic/kibana-presentation` files to ensure
conditionally rendered\ncallouts are properly handled by screen
readers.\n\n- **`project_picker_content.tsx`** — `announceOnMount`
(true): error\ncallout appears dynamically after a failed fetch\n-
**`project_picker.tsx`** — `announceOnMount={false}`: readonly
callout\nis a static prop-based condition\n-
**`datasource_component.js`** — `announceOnMount={false}`:
expression\nargs warning is a static data-shape condition\n\n###
Checklist\n- [x] Added label `a11y:agent-pr`\n- [x] Fixed all listed
files\n\n> [!WARNING]\n>\n> <details>\n> <summary>Firewall rules blocked
me from connecting to one or more\naddresses (expand for
details)</summary>\n>\n> #### I tried to connect to the following
addresses, but was blocked by\nfirewall rules:\n>\n> -
`ci-stats.kibana.dev`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\nscripts/yarn_install_scripts.js
run ldd 0.8.2` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
scripts/kbn\nbootstrap` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node node
scripts/eslint\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker_content.tsx\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker.tsx\nx-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js\nche/ms-playwright/webkit-2272/minibrowser-gtk/MiniBrowser`
(dns block)\n> - `clients3.google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `detectportal.firefox.com`\n>
- Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> -
`googlechromelabs.github.io`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
install.js` (dns\nblock)\n> - `iojs.org`\n> - Triggering command:
`/usr/bin/curl curl -q --fail --compressed -L -s\nREDACTED -o -` (dns
block)\n>\n> If you need me to access, download, or install something
from one of\nthese locations, you can either:\n>\n> - Configure [Actions
setup\nsteps](https://gh.io/copilot/actions-setup-steps) to set up
my\nenvironment, which run before the firewall is enabled\n> - Add the
appropriate URLs or hosts to the custom allowlist in this\nrepository's
[Copilot coding
agent\nsettings](https://github.com/elastic/kibana/settings/copilot/coding_agent)\n(admins
only)\n>\n> </details>\n\n---------\n\nCo-authored-by:
copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"88407efb459874607dbddad2988c960482dbbe1e"}},"sourceBranch":"main","suggestedTargetBranches":["9.4","9.3"],"targetPullRequestStates":[{"branch":"9.4","label":"v9.4.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.5.0","branchLabelMappingKey":"^v9.5.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/265724","number":265724,"mergeCommit":{"message":"Add
`announceOnMount` to conditionally rendered `EuiCallOut` components
(#265724)\n\nResolves 3 `@elastic/eui/callout-announce-on-mount` lint
violations in\n`@elastic/kibana-presentation` files to ensure
conditionally rendered\ncallouts are properly handled by screen
readers.\n\n- **`project_picker_content.tsx`** — `announceOnMount`
(true): error\ncallout appears dynamically after a failed fetch\n-
**`project_picker.tsx`** — `announceOnMount={false}`: readonly
callout\nis a static prop-based condition\n-
**`datasource_component.js`** — `announceOnMount={false}`:
expression\nargs warning is a static data-shape condition\n\n###
Checklist\n- [x] Added label `a11y:agent-pr`\n- [x] Fixed all listed
files\n\n> [!WARNING]\n>\n> <details>\n> <summary>Firewall rules blocked
me from connecting to one or more\naddresses (expand for
details)</summary>\n>\n> #### I tried to connect to the following
addresses, but was blocked by\nfirewall rules:\n>\n> -
`ci-stats.kibana.dev`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\nscripts/yarn_install_scripts.js
run ldd 0.8.2` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
scripts/kbn\nbootstrap` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node node
scripts/eslint\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker_content.tsx\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker.tsx\nx-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js\nche/ms-playwright/webkit-2272/minibrowser-gtk/MiniBrowser`
(dns block)\n> - `clients3.google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `detectportal.firefox.com`\n>
- Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> -
`googlechromelabs.github.io`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
install.js` (dns\nblock)\n> - `iojs.org`\n> - Triggering command:
`/usr/bin/curl curl -q --fail --compressed -L -s\nREDACTED -o -` (dns
block)\n>\n> If you need me to access, download, or install something
from one of\nthese locations, you can either:\n>\n> - Configure [Actions
setup\nsteps](https://gh.io/copilot/actions-setup-steps) to set up
my\nenvironment, which run before the firewall is enabled\n> - Add the
appropriate URLs or hosts to the custom allowlist in this\nrepository's
[Copilot coding
agent\nsettings](https://github.com/elastic/kibana/settings/copilot/coding_agent)\n(admins
only)\n>\n> </details>\n\n---------\n\nCo-authored-by:
copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"88407efb459874607dbddad2988c960482dbbe1e"}},{"branch":"9.3","label":"v9.3.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
@alexwizp
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
9.3

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

alexwizp added a commit that referenced this pull request Apr 28, 2026
…mponents (#265724) (#265950)

# Backport

This will backport the following commits from `main` to `9.3`:
- [Add `announceOnMount` to conditionally rendered `EuiCallOut`
components (#265724)](#265724)

<!--- Backport version: 11.0.2 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"Copilot","email":"198982749+Copilot@users.noreply.github.com"},"sourceCommit":{"committedDate":"2026-04-28T05:24:59Z","message":"Add
`announceOnMount` to conditionally rendered `EuiCallOut` components
(#265724)\n\nResolves 3 `@elastic/eui/callout-announce-on-mount` lint
violations in\n`@elastic/kibana-presentation` files to ensure
conditionally rendered\ncallouts are properly handled by screen
readers.\n\n- **`project_picker_content.tsx`** — `announceOnMount`
(true): error\ncallout appears dynamically after a failed fetch\n-
**`project_picker.tsx`** — `announceOnMount={false}`: readonly
callout\nis a static prop-based condition\n-
**`datasource_component.js`** — `announceOnMount={false}`:
expression\nargs warning is a static data-shape condition\n\n###
Checklist\n- [x] Added label `a11y:agent-pr`\n- [x] Fixed all listed
files\n\n> [!WARNING]\n>\n> <details>\n> <summary>Firewall rules blocked
me from connecting to one or more\naddresses (expand for
details)</summary>\n>\n> #### I tried to connect to the following
addresses, but was blocked by\nfirewall rules:\n>\n> -
`ci-stats.kibana.dev`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\nscripts/yarn_install_scripts.js
run ldd 0.8.2` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
scripts/kbn\nbootstrap` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node node
scripts/eslint\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker_content.tsx\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker.tsx\nx-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js\nche/ms-playwright/webkit-2272/minibrowser-gtk/MiniBrowser`
(dns block)\n> - `clients3.google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `detectportal.firefox.com`\n>
- Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> -
`googlechromelabs.github.io`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
install.js` (dns\nblock)\n> - `iojs.org`\n> - Triggering command:
`/usr/bin/curl curl -q --fail --compressed -L -s\nREDACTED -o -` (dns
block)\n>\n> If you need me to access, download, or install something
from one of\nthese locations, you can either:\n>\n> - Configure [Actions
setup\nsteps](https://gh.io/copilot/actions-setup-steps) to set up
my\nenvironment, which run before the firewall is enabled\n> - Add the
appropriate URLs or hosts to the custom allowlist in this\nrepository's
[Copilot coding
agent\nsettings](https://github.com/elastic/kibana/settings/copilot/coding_agent)\n(admins
only)\n>\n> </details>\n\n---------\n\nCo-authored-by:
copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"88407efb459874607dbddad2988c960482dbbe1e","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","💝community","backport:version","v9.4.0","a11y:agent-pr","v9.5.0","v9.3.4"],"title":"Add
`announceOnMount` to conditionally rendered `EuiCallOut`
components","number":265724,"url":"https://github.com/elastic/kibana/pull/265724","mergeCommit":{"message":"Add
`announceOnMount` to conditionally rendered `EuiCallOut` components
(#265724)\n\nResolves 3 `@elastic/eui/callout-announce-on-mount` lint
violations in\n`@elastic/kibana-presentation` files to ensure
conditionally rendered\ncallouts are properly handled by screen
readers.\n\n- **`project_picker_content.tsx`** — `announceOnMount`
(true): error\ncallout appears dynamically after a failed fetch\n-
**`project_picker.tsx`** — `announceOnMount={false}`: readonly
callout\nis a static prop-based condition\n-
**`datasource_component.js`** — `announceOnMount={false}`:
expression\nargs warning is a static data-shape condition\n\n###
Checklist\n- [x] Added label `a11y:agent-pr`\n- [x] Fixed all listed
files\n\n> [!WARNING]\n>\n> <details>\n> <summary>Firewall rules blocked
me from connecting to one or more\naddresses (expand for
details)</summary>\n>\n> #### I tried to connect to the following
addresses, but was blocked by\nfirewall rules:\n>\n> -
`ci-stats.kibana.dev`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\nscripts/yarn_install_scripts.js
run ldd 0.8.2` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
scripts/kbn\nbootstrap` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node node
scripts/eslint\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker_content.tsx\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker.tsx\nx-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js\nche/ms-playwright/webkit-2272/minibrowser-gtk/MiniBrowser`
(dns block)\n> - `clients3.google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `detectportal.firefox.com`\n>
- Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> -
`googlechromelabs.github.io`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
install.js` (dns\nblock)\n> - `iojs.org`\n> - Triggering command:
`/usr/bin/curl curl -q --fail --compressed -L -s\nREDACTED -o -` (dns
block)\n>\n> If you need me to access, download, or install something
from one of\nthese locations, you can either:\n>\n> - Configure [Actions
setup\nsteps](https://gh.io/copilot/actions-setup-steps) to set up
my\nenvironment, which run before the firewall is enabled\n> - Add the
appropriate URLs or hosts to the custom allowlist in this\nrepository's
[Copilot coding
agent\nsettings](https://github.com/elastic/kibana/settings/copilot/coding_agent)\n(admins
only)\n>\n> </details>\n\n---------\n\nCo-authored-by:
copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"88407efb459874607dbddad2988c960482dbbe1e"}},"sourceBranch":"main","suggestedTargetBranches":["9.3"],"targetPullRequestStates":[{"branch":"9.4","label":"v9.4.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/265933","number":265933,"state":"MERGED","mergeCommit":{"sha":"ff9ac4716bc395adede221c3500a501eca39e054","message":"[9.4]
Add `announceOnMount` to conditionally rendered `EuiCallOut` components
(#265724) (#265933)\n\n# Backport\n\nThis will backport the following
commits from `main` to `9.4`:\n- [Add `announceOnMount` to conditionally
rendered `EuiCallOut`\ncomponents
(#265724)](https://github.com/elastic/kibana/pull/265724)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Copilot <198982749+Copilot@users.noreply.github.com>\nCo-authored-by:
alexwizp <20072247+alexwizp@users.noreply.github.com>\nCo-authored-by:
Alexey Antonov
<alexwizp@gmail.com>"}},{"branch":"main","label":"v9.5.0","branchLabelMappingKey":"^v9.5.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/265724","number":265724,"mergeCommit":{"message":"Add
`announceOnMount` to conditionally rendered `EuiCallOut` components
(#265724)\n\nResolves 3 `@elastic/eui/callout-announce-on-mount` lint
violations in\n`@elastic/kibana-presentation` files to ensure
conditionally rendered\ncallouts are properly handled by screen
readers.\n\n- **`project_picker_content.tsx`** — `announceOnMount`
(true): error\ncallout appears dynamically after a failed fetch\n-
**`project_picker.tsx`** — `announceOnMount={false}`: readonly
callout\nis a static prop-based condition\n-
**`datasource_component.js`** — `announceOnMount={false}`:
expression\nargs warning is a static data-shape condition\n\n###
Checklist\n- [x] Added label `a11y:agent-pr`\n- [x] Fixed all listed
files\n\n> [!WARNING]\n>\n> <details>\n> <summary>Firewall rules blocked
me from connecting to one or more\naddresses (expand for
details)</summary>\n>\n> #### I tried to connect to the following
addresses, but was blocked by\nfirewall rules:\n>\n> -
`ci-stats.kibana.dev`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\nscripts/yarn_install_scripts.js
run ldd 0.8.2` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
scripts/kbn\nbootstrap` (dns block)\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node node
scripts/eslint\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker_content.tsx\nsrc/platform/packages/shared/kbn-cps-utils/components/project_picker.tsx\nx-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js\nche/ms-playwright/webkit-2272/minibrowser-gtk/MiniBrowser`
(dns block)\n> - `clients3.google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `detectportal.firefox.com`\n>
- Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> - `google.com`\n> - Triggering
command:\n`/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\n/home/REDACTED/work/kibana/kibana/node_modules/@moonrepo/core-linux-x64-gnu/moon\nrun
:build-webpack ldd 0.8.2` (dns block)\n> -
`googlechromelabs.github.io`\n> - Triggering
command:\n`/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node\n/home/REDACTED/.nvm/versions/node/v24.14.1/bin/node
install.js` (dns\nblock)\n> - `iojs.org`\n> - Triggering command:
`/usr/bin/curl curl -q --fail --compressed -L -s\nREDACTED -o -` (dns
block)\n>\n> If you need me to access, download, or install something
from one of\nthese locations, you can either:\n>\n> - Configure [Actions
setup\nsteps](https://gh.io/copilot/actions-setup-steps) to set up
my\nenvironment, which run before the firewall is enabled\n> - Add the
appropriate URLs or hosts to the custom allowlist in this\nrepository's
[Copilot coding
agent\nsettings](https://github.com/elastic/kibana/settings/copilot/coding_agent)\n(admins
only)\n>\n> </details>\n\n---------\n\nCo-authored-by:
copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"88407efb459874607dbddad2988c960482dbbe1e"}},{"branch":"9.3","label":"v9.3.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com>
smith pushed a commit to smith/kibana that referenced this pull request Apr 28, 2026
…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

### Checklist
- [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>
@Ikuni17 Ikuni17 added v9.3.5 and removed v9.3.4 labels May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a11y:agent-pr PR has been created by the agent backport:version Backport to applied version labels 💝community Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes v9.3.5 v9.4.0 v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[eslint-issue-reporter] Fix @elastic/eui/callout-announce-on-mount lint violations across @elastic/kibana-presentation files

6 participants