Skip to content

Conversation

@alexwizp
Copy link
Contributor

@alexwizp alexwizp commented Jul 28, 2025

Summary

This PR manually fixes some remaining violations of the following rule that, for some reason, were not addressed in the previous PR: #227821

It applies the auto-fix for the newly introduced @elastic/eui/require-aria-label-for-modals rule. This rule ensures that EUI modal components (EuiModal and EuiFlyout) include either an aria-label or aria-labelledby prop to support screen reader accessibility. These attributes help users understand the purpose and content of modal dialogs.

Changes Made

  1. Identified the modal title/header element used within EuiModal or EuiFlyout.
    Common elements include: EuiFlyoutTitle, EuiModalTitle, EuiTitle, <h2>, <h3>, or other heading tags.

  2. Ensured the title element has an id:
    If the header element lacked an id, one was programmatically generated:

    • For function components:

      • Imported useGeneratedHtmlId from @elastic/eui if not already present:

        import { useGeneratedHtmlId } from '@elastic/eui';
      • Defined a unique ID before the return statement:

        const modalTitleId = useGeneratedHtmlId();
      • Applied the ID to the title element:

        <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>
    • For class components:

      • Imported htmlIdGenerator from @elastic/eui if not already present:

        import { htmlIdGenerator } from '@elastic/eui';
      • Defined a unique ID within the render() method:

        const modalTitleId = htmlIdGenerator()('modalTitle');
      • Applied the ID to the title element:

        <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>
  3. Updated the EuiModal or EuiFlyout component to include the aria-labelledby attribute referencing the generated title ID:

    <EuiModal aria-labelledby={modalTitleId} />

@elastic elastic deleted a comment from elasticmachine Jul 28, 2025
alexwizp and others added 5 commits July 29, 2025 00:07
@alexwizp alexwizp marked this pull request as ready for review July 29, 2025 13:22
@alexwizp alexwizp requested review from a team as code owners July 29, 2025 13:22
@alexwizp alexwizp requested a review from machadoum July 29, 2025 13:22
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:Fleet Team label for Observability Data Collection Fleet team labels Jul 29, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@github-actions
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link
Contributor

@tonyghiani tonyghiani left a comment

Choose a reason for hiding this comment

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

streams_app changes LGTM

Copy link
Member

@machadoum machadoum left a comment

Choose a reason for hiding this comment

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

EA team changes LGTM!

@elasticmachine
Copy link
Contributor

elasticmachine commented Aug 3, 2025

💚 Build Succeeded

  • Buildkite Build
  • Commit: 3d8e5b0
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-229616-3d8e5b060b98

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.1MB 1.1MB +65.0B
crossClusterReplication 138.0KB 138.2KB +150.0B
ml 5.3MB 5.3MB +250.0B
monitoring 630.9KB 631.0KB +57.0B
observabilityAiAssistantManagement 98.6KB 98.6KB +51.0B
securitySolution 10.3MB 10.3MB +54.0B
streamsApp 616.5KB 616.6KB +51.0B
triggersActionsUi 1.5MB 1.5MB +51.0B
visTypeTimeseries 439.2KB 439.3KB +130.0B
workflowsManagement 32.7KB 32.8KB +102.0B
total +961.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
interactiveSetup 37.4KB 37.5KB +51.0B

History

@alexwizp
Copy link
Contributor Author

alexwizp commented Aug 4, 2025

@elastic/workflows-eng please review

@alexwizp
Copy link
Contributor Author

alexwizp commented Aug 4, 2025

@elastic/stack-monitoring please review

Copy link
Contributor

@consulthys consulthys left a comment

Choose a reason for hiding this comment

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

LGT Stack Monitoring

Copy link
Contributor

@Kiryous Kiryous left a comment

Choose a reason for hiding this comment

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

LGTM

@alexwizp alexwizp merged commit ef05e61 into elastic:main Aug 4, 2025
12 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.1

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

@alexwizp
Copy link
Contributor Author

alexwizp commented Aug 4, 2025

💚 All backports created successfully

Status Branch Result
9.1

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

Questions ?

Please refer to the Backport tool documentation

alexwizp added a commit to alexwizp/kibana that referenced this pull request Aug 4, 2025
…nt rule (Step 3) (elastic#229616)

## Summary

This PR manually fixes some remaining violations of the following rule
that, for some reason, were not addressed in the previous PR:
elastic#227821

It applies the auto-fix for the newly introduced
`@elastic/eui/require-aria-label-for-modals` rule. This rule ensures
that `EUI` modal components (`EuiModal` and `EuiFlyout`) include either
an aria-label or `aria-labelledby` prop to support screen reader
accessibility. These attributes help users understand the purpose and
content of modal dialogs.

## Changes Made

1. **Identified the modal title/header element** used within `EuiModal`
or `EuiFlyout`.
Common elements include: `EuiFlyoutTitle`, `EuiModalTitle`, `EuiTitle`,
`<h2>`, `<h3>`, or other heading tags.

2. **Ensured the title element has an `id`:**
If the header element lacked an `id`, one was programmatically
generated:

   * **For function components:**

* Imported `useGeneratedHtmlId` from `@elastic/eui` if not already
present:

       ```ts
       import { useGeneratedHtmlId } from '@elastic/eui';
       ```
     * Defined a unique ID before the `return` statement:

       ```ts
       const modalTitleId = useGeneratedHtmlId();
       ```
     * Applied the ID to the title element:

       ```tsx
       <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>
       ```

   * **For class components:**

* Imported `htmlIdGenerator` from `@elastic/eui` if not already present:

       ```ts
       import { htmlIdGenerator } from '@elastic/eui';
       ```
     * Defined a unique ID within the `render()` method:

       ```ts
       const modalTitleId = htmlIdGenerator()('modalTitle');
       ```
     * Applied the ID to the title element:

       ```tsx
       <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>
       ```

3. **Updated the `EuiModal` or `EuiFlyout` component** to include the
`aria-labelledby` attribute referencing the generated title ID:

   ```tsx
   <EuiModal aria-labelledby={modalTitleId} />
   ```

<!--ONMERGE {"backportTargets":["9.1"]} ONMERGE-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ef05e61)

# Conflicts:
#	src/platform/plugins/shared/workflows_management/public/features/run_workflow/ui/test_workflow_modal.tsx
#	src/platform/plugins/shared/workflows_management/public/features/run_workflow/ui/workflow_event_modal.tsx
alexwizp added a commit that referenced this pull request Aug 4, 2025
…s ESLint rule (Step 3) (#229616) (#230417)

# Backport

This will backport the following commits from `main` to `9.1`:
- [Fix violations of the @elastic/eui/require-aria-label-for-modals
ESLint rule (Step 3)
(#229616)](#229616)

<!--- Backport version: 10.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Alexey
Antonov","email":"alexwizp@gmail.com"},"sourceCommit":{"committedDate":"2025-08-04T12:18:33Z","message":"Fix
violations of the @elastic/eui/require-aria-label-for-modals ESLint rule
(Step 3) (#229616)\n\n## Summary\n\nThis PR manually fixes some
remaining violations of the following rule\nthat, for some reason, were
not addressed in the previous
PR:\nhttps://github.com//pull/227821\n\nIt applies the
auto-fix for the newly
introduced\n`@elastic/eui/require-aria-label-for-modals` rule. This rule
ensures\nthat `EUI` modal components (`EuiModal` and `EuiFlyout`)
include either\nan aria-label or `aria-labelledby` prop to support
screen reader\naccessibility. These attributes help users understand the
purpose and\ncontent of modal dialogs.\n\n## Changes Made\n\n1.
**Identified the modal title/header element** used within `EuiModal`\nor
`EuiFlyout`.\nCommon elements include: `EuiFlyoutTitle`,
`EuiModalTitle`, `EuiTitle`,\n`<h2>`, `<h3>`, or other heading
tags.\n\n2. **Ensured the title element has an `id`:**\nIf the header
element lacked an `id`, one was programmatically\ngenerated:\n\n * **For
function components:**\n\n* Imported `useGeneratedHtmlId` from
`@elastic/eui` if not already\npresent:\n\n ```ts\n import {
useGeneratedHtmlId } from '@elastic/eui';\n ```\n * Defined a unique ID
before the `return` statement:\n\n ```ts\n const modalTitleId =
useGeneratedHtmlId();\n ```\n * Applied the ID to the title element:\n\n
```tsx\n <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>\n
```\n\n * **For class components:**\n\n* Imported `htmlIdGenerator` from
`@elastic/eui` if not already present:\n\n ```ts\n import {
htmlIdGenerator } from '@elastic/eui';\n ```\n * Defined a unique ID
within the `render()` method:\n\n ```ts\n const modalTitleId =
htmlIdGenerator()('modalTitle');\n ```\n * Applied the ID to the title
element:\n\n ```tsx\n <EuiModalTitle
id={modalTitleId}>Title</EuiModalTitle>\n ```\n\n3. **Updated the
`EuiModal` or `EuiFlyout` component** to include the\n`aria-labelledby`
attribute referencing the generated title ID:\n\n ```tsx\n <EuiModal
aria-labelledby={modalTitleId} />\n
```\n\n\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ef05e61a64ff49080636578a37d6502492f9c947","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","Team:Fleet","backport:prev-minor","ci:project-deploy-observability","v9.2.0"],"title":"Fix
violations of the @elastic/eui/require-aria-label-for-modals ESLint rule
(Step
3)","number":229616,"url":"https://github.com/elastic/kibana/pull/229616","mergeCommit":{"message":"Fix
violations of the @elastic/eui/require-aria-label-for-modals ESLint rule
(Step 3) (#229616)\n\n## Summary\n\nThis PR manually fixes some
remaining violations of the following rule\nthat, for some reason, were
not addressed in the previous
PR:\nhttps://github.com//pull/227821\n\nIt applies the
auto-fix for the newly
introduced\n`@elastic/eui/require-aria-label-for-modals` rule. This rule
ensures\nthat `EUI` modal components (`EuiModal` and `EuiFlyout`)
include either\nan aria-label or `aria-labelledby` prop to support
screen reader\naccessibility. These attributes help users understand the
purpose and\ncontent of modal dialogs.\n\n## Changes Made\n\n1.
**Identified the modal title/header element** used within `EuiModal`\nor
`EuiFlyout`.\nCommon elements include: `EuiFlyoutTitle`,
`EuiModalTitle`, `EuiTitle`,\n`<h2>`, `<h3>`, or other heading
tags.\n\n2. **Ensured the title element has an `id`:**\nIf the header
element lacked an `id`, one was programmatically\ngenerated:\n\n * **For
function components:**\n\n* Imported `useGeneratedHtmlId` from
`@elastic/eui` if not already\npresent:\n\n ```ts\n import {
useGeneratedHtmlId } from '@elastic/eui';\n ```\n * Defined a unique ID
before the `return` statement:\n\n ```ts\n const modalTitleId =
useGeneratedHtmlId();\n ```\n * Applied the ID to the title element:\n\n
```tsx\n <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>\n
```\n\n * **For class components:**\n\n* Imported `htmlIdGenerator` from
`@elastic/eui` if not already present:\n\n ```ts\n import {
htmlIdGenerator } from '@elastic/eui';\n ```\n * Defined a unique ID
within the `render()` method:\n\n ```ts\n const modalTitleId =
htmlIdGenerator()('modalTitle');\n ```\n * Applied the ID to the title
element:\n\n ```tsx\n <EuiModalTitle
id={modalTitleId}>Title</EuiModalTitle>\n ```\n\n3. **Updated the
`EuiModal` or `EuiFlyout` component** to include the\n`aria-labelledby`
attribute referencing the generated title ID:\n\n ```tsx\n <EuiModal
aria-labelledby={modalTitleId} />\n
```\n\n\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ef05e61a64ff49080636578a37d6502492f9c947"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229616","number":229616,"mergeCommit":{"message":"Fix
violations of the @elastic/eui/require-aria-label-for-modals ESLint rule
(Step 3) (#229616)\n\n## Summary\n\nThis PR manually fixes some
remaining violations of the following rule\nthat, for some reason, were
not addressed in the previous
PR:\nhttps://github.com//pull/227821\n\nIt applies the
auto-fix for the newly
introduced\n`@elastic/eui/require-aria-label-for-modals` rule. This rule
ensures\nthat `EUI` modal components (`EuiModal` and `EuiFlyout`)
include either\nan aria-label or `aria-labelledby` prop to support
screen reader\naccessibility. These attributes help users understand the
purpose and\ncontent of modal dialogs.\n\n## Changes Made\n\n1.
**Identified the modal title/header element** used within `EuiModal`\nor
`EuiFlyout`.\nCommon elements include: `EuiFlyoutTitle`,
`EuiModalTitle`, `EuiTitle`,\n`<h2>`, `<h3>`, or other heading
tags.\n\n2. **Ensured the title element has an `id`:**\nIf the header
element lacked an `id`, one was programmatically\ngenerated:\n\n * **For
function components:**\n\n* Imported `useGeneratedHtmlId` from
`@elastic/eui` if not already\npresent:\n\n ```ts\n import {
useGeneratedHtmlId } from '@elastic/eui';\n ```\n * Defined a unique ID
before the `return` statement:\n\n ```ts\n const modalTitleId =
useGeneratedHtmlId();\n ```\n * Applied the ID to the title element:\n\n
```tsx\n <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>\n
```\n\n * **For class components:**\n\n* Imported `htmlIdGenerator` from
`@elastic/eui` if not already present:\n\n ```ts\n import {
htmlIdGenerator } from '@elastic/eui';\n ```\n * Defined a unique ID
within the `render()` method:\n\n ```ts\n const modalTitleId =
htmlIdGenerator()('modalTitle');\n ```\n * Applied the ID to the title
element:\n\n ```tsx\n <EuiModalTitle
id={modalTitleId}>Title</EuiModalTitle>\n ```\n\n3. **Updated the
`EuiModal` or `EuiFlyout` component** to include the\n`aria-labelledby`
attribute referencing the generated title ID:\n\n ```tsx\n <EuiModal
aria-labelledby={modalTitleId} />\n
```\n\n\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ef05e61a64ff49080636578a37d6502492f9c947"}}]}]
BACKPORT-->
szaffarano pushed a commit to szaffarano/kibana that referenced this pull request Aug 5, 2025
…nt rule (Step 3) (elastic#229616)

## Summary

This PR manually fixes some remaining violations of the following rule
that, for some reason, were not addressed in the previous PR:
elastic#227821

It applies the auto-fix for the newly introduced
`@elastic/eui/require-aria-label-for-modals` rule. This rule ensures
that `EUI` modal components (`EuiModal` and `EuiFlyout`) include either
an aria-label or `aria-labelledby` prop to support screen reader
accessibility. These attributes help users understand the purpose and
content of modal dialogs.

## Changes Made

1. **Identified the modal title/header element** used within `EuiModal`
or `EuiFlyout`.
Common elements include: `EuiFlyoutTitle`, `EuiModalTitle`, `EuiTitle`,
`<h2>`, `<h3>`, or other heading tags.

2. **Ensured the title element has an `id`:**
If the header element lacked an `id`, one was programmatically
generated:

   * **For function components:**

* Imported `useGeneratedHtmlId` from `@elastic/eui` if not already
present:

       ```ts
       import { useGeneratedHtmlId } from '@elastic/eui';
       ```
     * Defined a unique ID before the `return` statement:

       ```ts
       const modalTitleId = useGeneratedHtmlId();
       ```
     * Applied the ID to the title element:

       ```tsx
       <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>
       ```

   * **For class components:**

* Imported `htmlIdGenerator` from `@elastic/eui` if not already present:

       ```ts
       import { htmlIdGenerator } from '@elastic/eui';
       ```
     * Defined a unique ID within the `render()` method:

       ```ts
       const modalTitleId = htmlIdGenerator()('modalTitle');
       ```
     * Applied the ID to the title element:

       ```tsx
       <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>
       ```

3. **Updated the `EuiModal` or `EuiFlyout` component** to include the
`aria-labelledby` attribute referencing the generated title ID:

   ```tsx
   <EuiModal aria-labelledby={modalTitleId} />
   ```

<!--ONMERGE {"backportTargets":["9.1"]} ONMERGE-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
delanni pushed a commit to delanni/kibana that referenced this pull request Aug 5, 2025
…nt rule (Step 3) (elastic#229616)

## Summary

This PR manually fixes some remaining violations of the following rule
that, for some reason, were not addressed in the previous PR:
elastic#227821

It applies the auto-fix for the newly introduced
`@elastic/eui/require-aria-label-for-modals` rule. This rule ensures
that `EUI` modal components (`EuiModal` and `EuiFlyout`) include either
an aria-label or `aria-labelledby` prop to support screen reader
accessibility. These attributes help users understand the purpose and
content of modal dialogs.

## Changes Made

1. **Identified the modal title/header element** used within `EuiModal`
or `EuiFlyout`.
Common elements include: `EuiFlyoutTitle`, `EuiModalTitle`, `EuiTitle`,
`<h2>`, `<h3>`, or other heading tags.

2. **Ensured the title element has an `id`:**
If the header element lacked an `id`, one was programmatically
generated:

   * **For function components:**

* Imported `useGeneratedHtmlId` from `@elastic/eui` if not already
present:

       ```ts
       import { useGeneratedHtmlId } from '@elastic/eui';
       ```
     * Defined a unique ID before the `return` statement:

       ```ts
       const modalTitleId = useGeneratedHtmlId();
       ```
     * Applied the ID to the title element:

       ```tsx
       <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>
       ```

   * **For class components:**

* Imported `htmlIdGenerator` from `@elastic/eui` if not already present:

       ```ts
       import { htmlIdGenerator } from '@elastic/eui';
       ```
     * Defined a unique ID within the `render()` method:

       ```ts
       const modalTitleId = htmlIdGenerator()('modalTitle');
       ```
     * Applied the ID to the title element:

       ```tsx
       <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>
       ```

3. **Updated the `EuiModal` or `EuiFlyout` component** to include the
`aria-labelledby` attribute referencing the generated title ID:

   ```tsx
   <EuiModal aria-labelledby={modalTitleId} />
   ```

<!--ONMERGE {"backportTargets":["9.1"]} ONMERGE-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@wildemat wildemat mentioned this pull request Aug 7, 2025
10 tasks
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Aug 18, 2025
…nt rule (Step 3) (elastic#229616)

## Summary

This PR manually fixes some remaining violations of the following rule
that, for some reason, were not addressed in the previous PR:
elastic#227821

It applies the auto-fix for the newly introduced
`@elastic/eui/require-aria-label-for-modals` rule. This rule ensures
that `EUI` modal components (`EuiModal` and `EuiFlyout`) include either
an aria-label or `aria-labelledby` prop to support screen reader
accessibility. These attributes help users understand the purpose and
content of modal dialogs.

## Changes Made

1. **Identified the modal title/header element** used within `EuiModal`
or `EuiFlyout`.
Common elements include: `EuiFlyoutTitle`, `EuiModalTitle`, `EuiTitle`,
`<h2>`, `<h3>`, or other heading tags.

2. **Ensured the title element has an `id`:**
If the header element lacked an `id`, one was programmatically
generated:

   * **For function components:**

* Imported `useGeneratedHtmlId` from `@elastic/eui` if not already
present:

       ```ts
       import { useGeneratedHtmlId } from '@elastic/eui';
       ```
     * Defined a unique ID before the `return` statement:

       ```ts
       const modalTitleId = useGeneratedHtmlId();
       ```
     * Applied the ID to the title element:

       ```tsx
       <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>
       ```

   * **For class components:**

* Imported `htmlIdGenerator` from `@elastic/eui` if not already present:

       ```ts
       import { htmlIdGenerator } from '@elastic/eui';
       ```
     * Defined a unique ID within the `render()` method:

       ```ts
       const modalTitleId = htmlIdGenerator()('modalTitle');
       ```
     * Applied the ID to the title element:

       ```tsx
       <EuiModalTitle id={modalTitleId}>Title</EuiModalTitle>
       ```

3. **Updated the `EuiModal` or `EuiFlyout` component** to include the
`aria-labelledby` attribute referencing the generated title ID:

   ```tsx
   <EuiModal aria-labelledby={modalTitleId} />
   ```

<!--ONMERGE {"backportTargets":["9.1"]} ONMERGE-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
alexwizp added a commit that referenced this pull request Aug 27, 2025
…le from announcement (#232972)

Closes: #216990

**Description**
Dialog modal, flyout, field visible title should be announced for the
users, especially using assistive technology to know what dialog modal,
flyout opened, what field is active and what is needed to enter in it.

**Preconditions**
1. Analytics -> Machine Learning -> Anomaly Detection -> Settings ->
Calendar management -> Edit page.
2. Use Screen Reader (NVDA).

**Changes made**
1. added required aria attributes 

**Notes for reviewers**
Second case (`Import events`) was already fixed within #229616
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Aug 27, 2025
…le from announcement (elastic#232972)

Closes: elastic#216990

**Description**
Dialog modal, flyout, field visible title should be announced for the
users, especially using assistive technology to know what dialog modal,
flyout opened, what field is active and what is needed to enter in it.

**Preconditions**
1. Analytics -> Machine Learning -> Anomaly Detection -> Settings ->
Calendar management -> Edit page.
2. Use Screen Reader (NVDA).

**Changes made**
1. added required aria attributes

**Notes for reviewers**
Second case (`Import events`) was already fixed within elastic#229616

(cherry picked from commit b9e73ce)
kibanamachine added a commit that referenced this pull request Aug 27, 2025
…ng title from announcement (#232972) (#233083)

# Backport

This will backport the following commits from `main` to `9.1`:
- [fix: [ML] Anomaly Detection: Calendar event dialog modals missing
title from announcement
(#232972)](#232972)

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

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

<!--BACKPORT [{"author":{"name":"Alexey
Antonov","email":"alexwizp@gmail.com"},"sourceCommit":{"committedDate":"2025-08-27T10:54:20Z","message":"fix:
[ML] Anomaly Detection: Calendar event dialog modals missing title from
announcement (#232972)\n\nCloses: #216990\n\n**Description**\nDialog
modal, flyout, field visible title should be announced for the\nusers,
especially using assistive technology to know what dialog modal,\nflyout
opened, what field is active and what is needed to enter in
it.\n\n**Preconditions**\n1. Analytics -> Machine Learning -> Anomaly
Detection -> Settings ->\nCalendar management -> Edit page.\n2. Use
Screen Reader (NVDA).\n\n**Changes made**\n1. added required aria
attributes \n\n**Notes for reviewers**\nSecond case (`Import events`)
was already fixed within
#229616","sha":"b9e73ce3852ad49b12cc75f5c10165c7d74ee4f8","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility",":ml","Feature:Anomaly
Detection","release_note:skip","backport:prev-minor","v9.2.0"],"title":"fix:
[ML] Anomaly Detection: Calendar event dialog modals missing title from
announcement","number":232972,"url":"https://github.com/elastic/kibana/pull/232972","mergeCommit":{"message":"fix:
[ML] Anomaly Detection: Calendar event dialog modals missing title from
announcement (#232972)\n\nCloses: #216990\n\n**Description**\nDialog
modal, flyout, field visible title should be announced for the\nusers,
especially using assistive technology to know what dialog modal,\nflyout
opened, what field is active and what is needed to enter in
it.\n\n**Preconditions**\n1. Analytics -> Machine Learning -> Anomaly
Detection -> Settings ->\nCalendar management -> Edit page.\n2. Use
Screen Reader (NVDA).\n\n**Changes made**\n1. added required aria
attributes \n\n**Notes for reviewers**\nSecond case (`Import events`)
was already fixed within
#229616","sha":"b9e73ce3852ad49b12cc75f5c10165c7d74ee4f8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/232972","number":232972,"mergeCommit":{"message":"fix:
[ML] Anomaly Detection: Calendar event dialog modals missing title from
announcement (#232972)\n\nCloses: #216990\n\n**Description**\nDialog
modal, flyout, field visible title should be announced for the\nusers,
especially using assistive technology to know what dialog modal,\nflyout
opened, what field is active and what is needed to enter in
it.\n\n**Preconditions**\n1. Analytics -> Machine Learning -> Anomaly
Detection -> Settings ->\nCalendar management -> Edit page.\n2. Use
Screen Reader (NVDA).\n\n**Changes made**\n1. added required aria
attributes \n\n**Notes for reviewers**\nSecond case (`Import events`)
was already fixed within
#229616","sha":"b9e73ce3852ad49b12cc75f5c10165c7d74ee4f8"}}]}]
BACKPORT-->

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
kowalczyk-krzysztof pushed a commit to kowalczyk-krzysztof/kibana that referenced this pull request Aug 30, 2025
…le from announcement (elastic#232972)

Closes: elastic#216990

**Description**
Dialog modal, flyout, field visible title should be announced for the
users, especially using assistive technology to know what dialog modal,
flyout opened, what field is active and what is needed to enter in it.

**Preconditions**
1. Analytics -> Machine Learning -> Anomaly Detection -> Settings ->
Calendar management -> Edit page.
2. Use Screen Reader (NVDA).

**Changes made**
1. added required aria attributes 

**Notes for reviewers**
Second case (`Import events`) was already fixed within elastic#229616
qn895 pushed a commit to qn895/kibana that referenced this pull request Sep 2, 2025
…le from announcement (elastic#232972)

Closes: elastic#216990

**Description**
Dialog modal, flyout, field visible title should be announced for the
users, especially using assistive technology to know what dialog modal,
flyout opened, what field is active and what is needed to enter in it.

**Preconditions**
1. Analytics -> Machine Learning -> Anomaly Detection -> Settings ->
Calendar management -> Edit page.
2. Use Screen Reader (NVDA).

**Changes made**
1. added required aria attributes 

**Notes for reviewers**
Second case (`Import events`) was already fixed within elastic#229616
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:project-deploy-observability Create an Observability project Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v9.1.1 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.