-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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: [Stateful: Home page] Most Ingest your content section buttons have duplicated actions on them #196079
Conversation
…ave duplicated actions on them Closes: elastic#194932
Pinging @elastic/kibana-accessibility (Project:Accessibility) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There is a conflict before merging fyi.
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11346228794 |
…ave duplicated actions on them (elastic#196079) Closes: elastic#194932 ## Summary User reaches the same button two times when navigating using only keyboard and it can get confusing. Also for the user using screen reader it is also confusing if reached element is button or link. Better for element to get focus only one time when navigating in sequence from one element to another and for the user only to hear one announcement of the element, button or link (but not button link). ## What was changed?: 1. Removed extra `EuiLinkTo` wrapper 2. `EuiButton` was replaced to `EuiButtonTo` ## Screen <img width="1792" alt="image" src="https://github.com/user-attachments/assets/597eb7f0-dd7b-4c14-bccd-d91dc3bdcbcf"> (cherry picked from commit 5ed6981)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…tons have duplicated actions on them (#196079) (#196301) # Backport This will backport the following commits from `main` to `8.x`: - [fix: [Stateful: Home page] Most Ingest your content section buttons have duplicated actions on them (#196079)](#196079) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alexey Antonov","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-15T12:39:10Z","message":"fix: [Stateful: Home page] Most Ingest your content section buttons have duplicated actions on them (#196079)\n\nCloses: #194932\r\n\r\n## Summary\r\n\r\nUser reaches the same button two times when navigating using only\r\nkeyboard and it can get confusing. Also for the user using screen reader\r\nit is also confusing if reached element is button or link. Better for\r\nelement to get focus only one time when navigating in sequence from one\r\nelement to another and for the user only to hear one announcement of the\r\nelement, button or link (but not button link).\r\n\r\n## What was changed?:\r\n\r\n1. Removed extra `EuiLinkTo` wrapper \r\n2. `EuiButton` was replaced to `EuiButtonTo`\r\n\r\n## Screen \r\n\r\n<img width=\"1792\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/597eb7f0-dd7b-4c14-bccd-d91dc3bdcbcf\">","sha":"5ed698182887e18d2aa6c4b6782cc636a45a1472","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.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: [Stateful: Home page] Most Ingest your content section buttons have duplicated actions on them","number":196079,"url":"https://github.com/elastic/kibana/pull/196079","mergeCommit":{"message":"fix: [Stateful: Home page] Most Ingest your content section buttons have duplicated actions on them (#196079)\n\nCloses: #194932\r\n\r\n## Summary\r\n\r\nUser reaches the same button two times when navigating using only\r\nkeyboard and it can get confusing. Also for the user using screen reader\r\nit is also confusing if reached element is button or link. Better for\r\nelement to get focus only one time when navigating in sequence from one\r\nelement to another and for the user only to hear one announcement of the\r\nelement, button or link (but not button link).\r\n\r\n## What was changed?:\r\n\r\n1. Removed extra `EuiLinkTo` wrapper \r\n2. `EuiButton` was replaced to `EuiButtonTo`\r\n\r\n## Screen \r\n\r\n<img width=\"1792\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/597eb7f0-dd7b-4c14-bccd-d91dc3bdcbcf\">","sha":"5ed698182887e18d2aa6c4b6782cc636a45a1472"}},"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/196079","number":196079,"mergeCommit":{"message":"fix: [Stateful: Home page] Most Ingest your content section buttons have duplicated actions on them (#196079)\n\nCloses: #194932\r\n\r\n## Summary\r\n\r\nUser reaches the same button two times when navigating using only\r\nkeyboard and it can get confusing. Also for the user using screen reader\r\nit is also confusing if reached element is button or link. Better for\r\nelement to get focus only one time when navigating in sequence from one\r\nelement to another and for the user only to hear one announcement of the\r\nelement, button or link (but not button link).\r\n\r\n## What was changed?:\r\n\r\n1. Removed extra `EuiLinkTo` wrapper \r\n2. `EuiButton` was replaced to `EuiButtonTo`\r\n\r\n## Screen \r\n\r\n<img width=\"1792\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/597eb7f0-dd7b-4c14-bccd-d91dc3bdcbcf\">","sha":"5ed698182887e18d2aa6c4b6782cc636a45a1472"}}]}] BACKPORT--> Co-authored-by: Alexey Antonov <[email protected]>
Closes: #194932
Summary
User reaches the same button two times when navigating using only keyboard and it can get confusing. Also for the user using screen reader it is also confusing if reached element is button or link. Better for element to get focus only one time when navigating in sequence from one element to another and for the user only to hear one announcement of the element, button or link (but not button link).
What was changed?:
EuiLinkTo
wrapperEuiButton
was replaced toEuiButtonTo
Screen