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

[A11y][Crawler] Define radiogroups correctly in extraction rules flyout #201191

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

jedrazb
Copy link
Member

@jedrazb jedrazb commented Nov 21, 2024

Summary

The issue: keyboard nav with tab doesn't jump between radiogroups correctly, instead skips some.

Fix the issue with radiogroups selection with TAB, following the EUI docs:
https://eui.elastic.co/#/forms/selection-controls#radio-group

We need to

Pass a single name property to define the group.

Tested locally that this is the culprit of issues when rendering multiple radio groups in the same flyout.

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

@jedrazb jedrazb added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 auto-backport Deprecated - use backport:version if exact versions are needed Team:Search v8.17.0 v8.18.0 labels Nov 21, 2024
@jedrazb jedrazb requested a review from a team as a code owner November 21, 2024 14:02
@jedrazb jedrazb added backport and removed auto-backport Deprecated - use backport:version if exact versions are needed labels Nov 21, 2024
@jedrazb jedrazb changed the title [A11y][Crawler] Define radiogroups correctly in extraction rules [A11y][Crawler] Define radiogroups correctly in extraction rules flyout Nov 21, 2024
@jedrazb jedrazb added backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) v9.0.0 and removed backport v9.0.0 v8.17.0 v8.18.0 labels Nov 21, 2024
@jedrazb jedrazb enabled auto-merge (squash) November 21, 2024 14:13
@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 +116.0B

@jedrazb jedrazb merged commit 71667b0 into elastic:main Nov 21, 2024
47 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 21, 2024
…ut (elastic#201191)

## Summary

The issue: keyboard nav with tab doesn't jump between radiogroups
correctly, instead skips some.

Fix the issue with radiogroups selection with `TAB`, following the EUI
docs:
https://eui.elastic.co/#/forms/selection-controls#radio-group

We need to
> Pass a single `name` property to define the group.

Tested locally that this is the culprit of issues when rendering
multiple radio groups in the same flyout.

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit 71667b0)
@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 Nov 21, 2024
…s flyout (#201191) (#201239)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[A11y][Crawler] Define radiogroups correctly in extraction rules
flyout (#201191)](#201191)

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

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

<!--BACKPORT [{"author":{"name":"Jedr
Blaszyk","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-21T16:38:43Z","message":"[A11y][Crawler]
Define radiogroups correctly in extraction rules flyout (#201191)\n\n##
Summary\r\n\r\nThe issue: keyboard nav with tab doesn't jump between
radiogroups\r\ncorrectly, instead skips some.\r\n\r\nFix the issue with
radiogroups selection with `TAB`, following the
EUI\r\ndocs:\r\nhttps://eui.elastic.co/#/forms/selection-controls#radio-group\r\n\r\nWe
need to\r\n> Pass a single `name` property to define the
group.\r\n\r\nTested locally that this is the culprit of issues when
rendering\r\nmultiple radio groups in the same flyout.\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[x] This was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"71667b0fb002098ba7ae599c43ca88d401020a04","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:prev-minor"],"title":"[A11y][Crawler]
Define radiogroups correctly in extraction rules
flyout","number":201191,"url":"https://github.com/elastic/kibana/pull/201191","mergeCommit":{"message":"[A11y][Crawler]
Define radiogroups correctly in extraction rules flyout (#201191)\n\n##
Summary\r\n\r\nThe issue: keyboard nav with tab doesn't jump between
radiogroups\r\ncorrectly, instead skips some.\r\n\r\nFix the issue with
radiogroups selection with `TAB`, following the
EUI\r\ndocs:\r\nhttps://eui.elastic.co/#/forms/selection-controls#radio-group\r\n\r\nWe
need to\r\n> Pass a single `name` property to define the
group.\r\n\r\nTested locally that this is the culprit of issues when
rendering\r\nmultiple radio groups in the same flyout.\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[x] This was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"71667b0fb002098ba7ae599c43ca88d401020a04"}},"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/201191","number":201191,"mergeCommit":{"message":"[A11y][Crawler]
Define radiogroups correctly in extraction rules flyout (#201191)\n\n##
Summary\r\n\r\nThe issue: keyboard nav with tab doesn't jump between
radiogroups\r\ncorrectly, instead skips some.\r\n\r\nFix the issue with
radiogroups selection with `TAB`, following the
EUI\r\ndocs:\r\nhttps://eui.elastic.co/#/forms/selection-controls#radio-group\r\n\r\nWe
need to\r\n> Pass a single `name` property to define the
group.\r\n\r\nTested locally that this is the culprit of issues when
rendering\r\nmultiple radio groups in the same flyout.\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[x] This was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"71667b0fb002098ba7ae599c43ca88d401020a04"}}]}]
BACKPORT-->

Co-authored-by: Jedr Blaszyk <[email protected]>
paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this pull request Nov 26, 2024
…ut (elastic#201191)

## Summary

The issue: keyboard nav with tab doesn't jump between radiogroups
correctly, instead skips some.

Fix the issue with radiogroups selection with `TAB`, following the EUI
docs:
https://eui.elastic.co/#/forms/selection-controls#radio-group

We need to
> Pass a single `name` property to define the group.

Tested locally that this is the culprit of issues when rendering
multiple radio groups in the same flyout.


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
…ut (elastic#201191)

## Summary

The issue: keyboard nav with tab doesn't jump between radiogroups
correctly, instead skips some.

Fix the issue with radiogroups selection with `TAB`, following the EUI
docs:
https://eui.elastic.co/#/forms/selection-controls#radio-group

We need to
> Pass a single `name` property to define the group.

Tested locally that this is the culprit of issues when rendering
multiple radio groups in the same flyout.


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Search v8.18.0 v9.0.0
Projects
None yet
4 participants