Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [Search:WorkplaceSearch:API keys page]API key page modal dialog, flyout missing title from announcement #202716

Merged
merged 5 commits into from
Dec 11, 2024

Conversation

alexwizp
Copy link
Contributor

@alexwizp alexwizp commented Dec 3, 2024

Closes: #201570

Description
Dialog modal, flyout visible title should be announced for the users, especially using assistive technology to know what dialog modal, flyout opened.

Preconditions
Stateful Workplace Search -> API keys page is opened.
Use Screen Reader (NVDA).

Steps to reproduce

1.Using only keyboard navigate to Create key button by pressing Tab key.
2.Press Enter.
3.Observe screen reader.
4.Close the flyout.
5.Navigate to Delete button.
6.Press Enter.
7.Observe screen reader.

Changes made:

  1. aria-labelledby={modalTitleId} attribute was added for mentioned EuiModal

Screen:

image image

@alexwizp alexwizp added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) Project:Accessibility Team:Search labels Dec 3, 2024
@alexwizp
Copy link
Contributor Author

alexwizp commented Dec 3, 2024

/ci

@alexwizp alexwizp marked this pull request as ready for review December 3, 2024 13:22
@alexwizp alexwizp requested a review from a team as a code owner December 3, 2024 13:23
@elasticmachine
Copy link
Contributor

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

@alexwizp
Copy link
Contributor Author

alexwizp commented Dec 3, 2024

/ci

Copy link
Contributor

@Samiul-TheSoccerFan Samiul-TheSoccerFan left a comment

Choose a reason for hiding this comment

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

LGTM

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

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
enterpriseSearch 2.6MB 2.6MB +332.0B

History

@alexwizp alexwizp merged commit 791aff0 into elastic:main Dec 11, 2024
8 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 11, 2024
… flyout missing title from announcement (elastic#202716)

Closes: elastic#201570

**Description**
Dialog modal, flyout visible title should be announced for the users,
especially using assistive technology to know what dialog modal, flyout
opened.

**Preconditions**
Stateful Workplace Search -> API keys page is opened.
Use Screen Reader (NVDA).

**Steps to reproduce**

1.Using only keyboard navigate to Create key button by pressing Tab key.
2.Press Enter.
3.Observe screen reader.
4.Close the flyout.
5.Navigate to Delete button.
6.Press Enter.
7.Observe screen reader.

## Changes made:

1. aria-labelledby={modalTitleId} attribute was added for mentioned
EuiModal

## Screen:

<img width="988" alt="image"
src="https://github.com/user-attachments/assets/a1dc3586-a725-410c-be39-645bee637b88">

<img width="1194" alt="image"
src="https://github.com/user-attachments/assets/aa4fba8e-4683-4bee-a5bc-8d4d2e9bd63c">

(cherry picked from commit 791aff0)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

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 Dec 11, 2024
…ialog, flyout missing title from announcement (#202716) (#203848)

# Backport

This will backport the following commits from `main` to `8.x`:
- [fix: [Search:WorkplaceSearch:API keys page]API key page modal dialog,
flyout missing title from announcement
(#202716)](#202716)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Alexey
Antonov","email":"alexwizp@gmail.com"},"sourceCommit":{"committedDate":"2024-12-11T16:52:17Z","message":"fix:
[Search:WorkplaceSearch:API keys page]API key page modal dialog, flyout
missing title from announcement (#202716)\n\nCloses:
#201570\r\n\r\n**Description**\r\nDialog modal, flyout visible title
should be announced for the users,\r\nespecially using assistive
technology to know what dialog modal,
flyout\r\nopened.\r\n\r\n**Preconditions**\r\nStateful Workplace Search
-> API keys page is opened.\r\nUse Screen Reader (NVDA).\r\n\r\n**Steps
to reproduce**\r\n\r\n1.Using only keyboard navigate to Create key
button by pressing Tab key.\r\n2.Press Enter.\r\n3.Observe screen
reader.\r\n4.Close the flyout.\r\n5.Navigate to Delete
button.\r\n6.Press Enter.\r\n7.Observe screen reader.\r\n\r\n## Changes
made:\r\n\r\n1. aria-labelledby={modalTitleId} attribute was added for
mentioned\r\nEuiModal\r\n\r\n## Screen:\r\n\r\n<img width=\"988\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/a1dc3586-a725-410c-be39-645bee637b88\">\r\n\r\n<img
width=\"1194\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/aa4fba8e-4683-4bee-a5bc-8d4d2e9bd63c\">","sha":"791aff08e454f87199572e03b884eefd6cd0b116","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","v9.0.0","Team:Search","backport:prev-minor"],"title":"fix:
[Search:WorkplaceSearch:API keys page]API key page modal dialog, flyout
missing title from
announcement","number":202716,"url":"https://github.com/elastic/kibana/pull/202716","mergeCommit":{"message":"fix:
[Search:WorkplaceSearch:API keys page]API key page modal dialog, flyout
missing title from announcement (#202716)\n\nCloses:
#201570\r\n\r\n**Description**\r\nDialog modal, flyout visible title
should be announced for the users,\r\nespecially using assistive
technology to know what dialog modal,
flyout\r\nopened.\r\n\r\n**Preconditions**\r\nStateful Workplace Search
-> API keys page is opened.\r\nUse Screen Reader (NVDA).\r\n\r\n**Steps
to reproduce**\r\n\r\n1.Using only keyboard navigate to Create key
button by pressing Tab key.\r\n2.Press Enter.\r\n3.Observe screen
reader.\r\n4.Close the flyout.\r\n5.Navigate to Delete
button.\r\n6.Press Enter.\r\n7.Observe screen reader.\r\n\r\n## Changes
made:\r\n\r\n1. aria-labelledby={modalTitleId} attribute was added for
mentioned\r\nEuiModal\r\n\r\n## Screen:\r\n\r\n<img width=\"988\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/a1dc3586-a725-410c-be39-645bee637b88\">\r\n\r\n<img
width=\"1194\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/aa4fba8e-4683-4bee-a5bc-8d4d2e9bd63c\">","sha":"791aff08e454f87199572e03b884eefd6cd0b116"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202716","number":202716,"mergeCommit":{"message":"fix:
[Search:WorkplaceSearch:API keys page]API key page modal dialog, flyout
missing title from announcement (#202716)\n\nCloses:
#201570\r\n\r\n**Description**\r\nDialog modal, flyout visible title
should be announced for the users,\r\nespecially using assistive
technology to know what dialog modal,
flyout\r\nopened.\r\n\r\n**Preconditions**\r\nStateful Workplace Search
-> API keys page is opened.\r\nUse Screen Reader (NVDA).\r\n\r\n**Steps
to reproduce**\r\n\r\n1.Using only keyboard navigate to Create key
button by pressing Tab key.\r\n2.Press Enter.\r\n3.Observe screen
reader.\r\n4.Close the flyout.\r\n5.Navigate to Delete
button.\r\n6.Press Enter.\r\n7.Observe screen reader.\r\n\r\n## Changes
made:\r\n\r\n1. aria-labelledby={modalTitleId} attribute was added for
mentioned\r\nEuiModal\r\n\r\n## Screen:\r\n\r\n<img width=\"988\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/a1dc3586-a725-410c-be39-645bee637b88\">\r\n\r\n<img
width=\"1194\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/aa4fba8e-4683-4bee-a5bc-8d4d2e9bd63c\">","sha":"791aff08e454f87199572e03b884eefd6cd0b116"}}]}]
BACKPORT-->

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
… flyout missing title from announcement (elastic#202716)

Closes: elastic#201570

**Description**
Dialog modal, flyout visible title should be announced for the users,
especially using assistive technology to know what dialog modal, flyout
opened.

**Preconditions**
Stateful Workplace Search -> API keys page is opened.
Use Screen Reader (NVDA).

**Steps to reproduce**

1.Using only keyboard navigate to Create key button by pressing Tab key.
2.Press Enter.
3.Observe screen reader.
4.Close the flyout.
5.Navigate to Delete button.
6.Press Enter.
7.Observe screen reader.

## Changes made:

1. aria-labelledby={modalTitleId} attribute was added for mentioned
EuiModal

## Screen:

<img width="988" alt="image"
src="https://github.com/user-attachments/assets/a1dc3586-a725-410c-be39-645bee637b88">

<img width="1194" alt="image"
src="https://github.com/user-attachments/assets/aa4fba8e-4683-4bee-a5bc-8d4d2e9bd63c">
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Jan 13, 2025
… flyout missing title from announcement (elastic#202716)

Closes: elastic#201570

**Description**
Dialog modal, flyout visible title should be announced for the users,
especially using assistive technology to know what dialog modal, flyout
opened.

**Preconditions**
Stateful Workplace Search -> API keys page is opened.
Use Screen Reader (NVDA).

**Steps to reproduce**

1.Using only keyboard navigate to Create key button by pressing Tab key.
2.Press Enter.
3.Observe screen reader.
4.Close the flyout.
5.Navigate to Delete button.
6.Press Enter.
7.Observe screen reader.

## Changes made:

1. aria-labelledby={modalTitleId} attribute was added for mentioned
EuiModal

## Screen:

<img width="988" alt="image"
src="https://github.com/user-attachments/assets/a1dc3586-a725-410c-be39-645bee637b88">

<img width="1194" alt="image"
src="https://github.com/user-attachments/assets/aa4fba8e-4683-4bee-a5bc-8d4d2e9bd63c">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes Team:Search v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Search:WorkplaceSearch:API keys page]API key page modal dialog, flyout missing title from announcement
4 participants