[Security Solution] [Onboarding] a11y: Fix incorrect navigation after Save on AI assistant modal dialog#219935
Conversation
…r Save on AI assistant modal dialog
|
Pinging @elastic/kibana-accessibility (Project:Accessibility) |
|
Pinging @elastic/security-threat-hunting-explore (Team:Threat Hunting:Explore) |
|
@elasticmachine merge upstream |
| className="actConnectorModal" | ||
| css={css` | ||
| z-index: 9000; | ||
| width: ${actionTypeRegistry.get(actionType.id).modalWidth}; |
There was a problem hiding this comment.
ESLint auto-fix
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
...riggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx
Outdated
Show resolved
Hide resolved
| <React.Fragment key={`config.${id}`}> | ||
| <FormRow id={`config.${id}`} {...restConfigSchema} readOnly={readOnly} /> | ||
| <FormRow | ||
| euiFieldProps={{ 'aria-invalid': isEdit }} |
There was a problem hiding this comment.
Why isEdit, shouldn't this depend on whether the form is valid?
There was a problem hiding this comment.
I realized that it wasn’t necessary to manually add an aria-invalid attribute, because when you pass the isInvalid prop, EUI automatically adds aria-invalid="true" to the input so I've removed this lines of code.
also @adcoelho I noticed that the isEdit boolean is not used in this component, should we remove it ?
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
|
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
26 similar comments
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
…n after Save on AI assistant modal dialog (#219935) (#221119) # Backport This will backport the following commits from `main` to `8.19`: - [[Security Solution] [Onboarding] a11y: Fix incorrect navigation after Save on AI assistant modal dialog (#219935)](#219935) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Agustina Nahir Ruidiaz","email":"61565784+agusruidiazgd@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-05-21T09:51:43Z","message":"[Security Solution] [Onboarding] a11y: Fix incorrect navigation after Save on AI assistant modal dialog (#219935)\n\n## Summary\n\nCloses: https://github.com/elastic/kibana/issues/204211\n\n\nhttps://github.com/user-attachments/assets/ce60a37a-913d-4c17-bf3c-0192b1e99ddc\n\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n\n---------\n\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"63f75bd15126deb2f5cf02434302565a7a2cdd73","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","v9.0.0","Team:Threat Hunting:Explore","backport:prev-minor","ci:cloud-deploy","v9.1.0","v8.19.0"],"title":"[Security Solution] [Onboarding] a11y: Fix incorrect navigation after Save on AI assistant modal dialog","number":219935,"url":"https://github.com/elastic/kibana/pull/219935","mergeCommit":{"message":"[Security Solution] [Onboarding] a11y: Fix incorrect navigation after Save on AI assistant modal dialog (#219935)\n\n## Summary\n\nCloses: https://github.com/elastic/kibana/issues/204211\n\n\nhttps://github.com/user-attachments/assets/ce60a37a-913d-4c17-bf3c-0192b1e99ddc\n\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n\n---------\n\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"63f75bd15126deb2f5cf02434302565a7a2cdd73"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/219935","number":219935,"mergeCommit":{"message":"[Security Solution] [Onboarding] a11y: Fix incorrect navigation after Save on AI assistant modal dialog (#219935)\n\n## Summary\n\nCloses: https://github.com/elastic/kibana/issues/204211\n\n\nhttps://github.com/user-attachments/assets/ce60a37a-913d-4c17-bf3c-0192b1e99ddc\n\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n\n---------\n\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"63f75bd15126deb2f5cf02434302565a7a2cdd73"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
Closes: #204211
Screen.Recording.2025-05-02.at.15.19.16.mov
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.