Skip to content

Conversation

@alexwizp
Copy link
Contributor

@alexwizp alexwizp commented Aug 5, 2025

Closes: #217136

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.

Changes made:

  1. Aria attributes were fixed for Supplied configurations flyout

Screen:

image

@alexwizp alexwizp marked this pull request as ready for review August 5, 2025 13:03
@alexwizp alexwizp requested a review from a team as a code owner August 5, 2025 13:03
@alexwizp alexwizp added Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes labels Aug 5, 2025
@elasticmachine
Copy link
Contributor

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

ownFocus
onClose={onClose}
aria-labelledby={'supplied-configurations-flyout'}
aria-labelledby={flyoutTitleId}
Copy link
Contributor

Choose a reason for hiding this comment

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

I confirmed that the dialog title is now being set in the Accessibility Tree View in Chrome Dev tools.

But just to confirm, are we expecting the title to be read out in MacOS VoiceOver, as it just reads out the generic 'You are in a modal dialog' currently? I think I checked this before, and believe it might be a limitation of VoiceOver? Could you confirm the expected behavior here please @alexwizp

Screenshot 2025-08-05 at 15 22 36

Copy link
Contributor Author

@alexwizp alexwizp Aug 5, 2025

Choose a reason for hiding this comment

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

@peteharverson That's correct — VoiceOver doesn't announce the dialog name, unlike NVDA, which does. As a quick workaround, you can check the accessibility tree in Chrome to ensure the dialog is properly named."

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the clarification @alexwizp . That's what I suspected. All looks good in the accessibility tree.

@alexwizp alexwizp requested a review from peteharverson August 5, 2025 15:02
Copy link
Contributor

@peteharverson peteharverson 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 a925155 into elastic:main Aug 5, 2025
20 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.1

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Aug 5, 2025
…itle from announcement (elastic#230578)

Closes: elastic#217136

**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.

**Changes made:**

1. Aria attributes were fixed for `Supplied configurations flyout`

**Screen:**

<img width="1356" height="657" alt="image"
src="https://github.com/user-attachments/assets/f7fe5c30-5086-4538-ade0-c73a7d597cdd"
/>

(cherry picked from commit a925155)
@kibanamachine
Copy link
Contributor

💚 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

kibanamachine added a commit that referenced this pull request Aug 5, 2025
…sing title from announcement (#230578) (#230613)

# Backport

This will backport the following commits from `main` to `9.1`:
- [fix: [ML] Anomaly Detection: Supplied configurations flyout missing
title from announcement
(#230578)](#230578)

<!--- 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-05T15:10:51Z","message":"fix:
[ML] Anomaly Detection: Supplied configurations flyout missing title
from announcement (#230578)\n\nCloses:
#217136\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**Changes made:**\n\n1.
Aria attributes were fixed for `Supplied configurations
flyout`\n\n**Screen:**\n\n<img width=\"1356\" height=\"657\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/f7fe5c30-5086-4538-ade0-c73a7d597cdd\"\n/>","sha":"a9251556d549244fb974c92f9ce240da0ff4724c","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","backport:prev-minor","v9.2.0"],"title":"fix:
[ML] Anomaly Detection: Supplied configurations flyout missing title
from
announcement","number":230578,"url":"https://github.com/elastic/kibana/pull/230578","mergeCommit":{"message":"fix:
[ML] Anomaly Detection: Supplied configurations flyout missing title
from announcement (#230578)\n\nCloses:
#217136\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**Changes made:**\n\n1.
Aria attributes were fixed for `Supplied configurations
flyout`\n\n**Screen:**\n\n<img width=\"1356\" height=\"657\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/f7fe5c30-5086-4538-ade0-c73a7d597cdd\"\n/>","sha":"a9251556d549244fb974c92f9ce240da0ff4724c"}},"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/230578","number":230578,"mergeCommit":{"message":"fix:
[ML] Anomaly Detection: Supplied configurations flyout missing title
from announcement (#230578)\n\nCloses:
#217136\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**Changes made:**\n\n1.
Aria attributes were fixed for `Supplied configurations
flyout`\n\n**Screen:**\n\n<img width=\"1356\" height=\"657\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/f7fe5c30-5086-4538-ade0-c73a7d597cdd\"\n/>","sha":"a9251556d549244fb974c92f9ce240da0ff4724c"}}]}]
BACKPORT-->

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
delanni pushed a commit to delanni/kibana that referenced this pull request Aug 5, 2025
…itle from announcement (elastic#230578)

Closes: elastic#217136

**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.

**Changes made:**

1. Aria attributes were fixed for `Supplied configurations flyout`

**Screen:**

<img width="1356" height="657" alt="image"
src="https://github.com/user-attachments/assets/f7fe5c30-5086-4538-ade0-c73a7d597cdd"
/>
@wildemat wildemat mentioned this pull request Aug 7, 2025
10 tasks
@mistic mistic added v9.1.2 and removed v9.1.1 labels Aug 7, 2025
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Aug 18, 2025
…itle from announcement (elastic#230578)

Closes: elastic#217136

**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.

**Changes made:**

1. Aria attributes were fixed for `Supplied configurations flyout`

**Screen:**

<img width="1356" height="657" alt="image"
src="https://github.com/user-attachments/assets/f7fe5c30-5086-4538-ade0-c73a7d597cdd"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes v9.1.2 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ML] Anomaly Detection: Supplied configurations flyout missing title from announcement

5 participants