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

Add missing attributes #58

Conversation

crespocarlos
Copy link

Add the missing screenDescription and starterPrompts to screenContextRt

@crespocarlos
Copy link
Author

cc @dgieselaar

@dgieselaar dgieselaar merged commit 4c60d88 into dgieselaar:strict-keys-array-check Aug 29, 2024
1 of 2 checks passed
@crespocarlos crespocarlos deleted the strict-keys-array-check-fix branch August 29, 2024 13:26
dgieselaar pushed a commit that referenced this pull request Oct 22, 2024
…t accessibility should use expected a11y attributes (elastic#196844)

## Summary

We're working on upgrading Kibana to React@18 (in Legacy Mode). There
are a couple failing tests when running React@18 in Legacy mode and this
is one of them


[[job]](https://buildkite.com/elastic/kibana-pull-request/builds/243743#01929ee7-11b8-41c3-af79-1437561a6ef0)
[[logs]](https://buildkite.com/organizations/elastic/pipelines/kibana-pull-request/builds/243743/jobs/01929ee7-11b8-41c3-af79-1437561a6ef0/artifacts/01929f0a-dc7a-42ff-9a01-809c31e1dc71)
FTR Configs #58 / discover/group3 discover doc viewer flyout
accessibility should use expected a11y attributes

This one is simple. Native to react `useId` implementation produces ids
like this: `:r3:` and when you attempt to use such ids with id selector
they're invalid . e.g. `document.querySelector('#:r3:')` throws an
error. A workaround is to use attribute selector
`document.querySelector('[id=":r3:"]')`. This is the same problem as
we've seen before elastic#191632
dgieselaar pushed a commit that referenced this pull request Nov 20, 2024
… flyout accessibility should use expected a11y attributes (elastic#196844) (elastic#196872)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[React@18 failing test] fix discover/group3 discover doc viewer
flyout accessibility should use expected a11y attributes
(elastic#196844)](elastic#196844)

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

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

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-18T12:59:44Z","message":"[React@18
failing test] fix discover/group3 discover doc viewer flyout
accessibility should use expected a11y attributes (elastic#196844)\n\n##
Summary\r\n\r\nWe're working on upgrading Kibana to React@18 (in Legacy
Mode). There\r\nare a couple failing tests when running React@18 in
Legacy mode and this\r\nis one of
them\r\n\r\n\r\n[[job]](https://buildkite.com/elastic/kibana-pull-request/builds/243743#01929ee7-11b8-41c3-af79-1437561a6ef0)\r\n[[logs]](https://buildkite.com/organizations/elastic/pipelines/kibana-pull-request/builds/243743/jobs/01929ee7-11b8-41c3-af79-1437561a6ef0/artifacts/01929f0a-dc7a-42ff-9a01-809c31e1dc71)\r\nFTR
Configs #58 / discover/group3 discover doc viewer
flyout\r\naccessibility should use expected a11y attributes\r\n\r\nThis
one is simple. Native to react `useId` implementation produces
ids\r\nlike this: `:r3:` and when you attempt to use such ids with id
selector\r\nthey're invalid . e.g. `document.querySelector('#:r3:')`
throws an\r\nerror. A workaround is to use attribute
selector\r\n`document.querySelector('[id=\":r3:\"]')`. This is the same
problem as\r\nwe've seen before
https://github.com/elastic/kibana/pull/191632","sha":"cf5d2e70da3af649bd97931c4e95eee954aa0bb3","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","backport:prev-minor"],"title":"[React@18
failing test] fix discover/group3 discover doc viewer flyout
accessibility should use expected a11y
attributes","number":196844,"url":"https://github.com/elastic/kibana/pull/196844","mergeCommit":{"message":"[React@18
failing test] fix discover/group3 discover doc viewer flyout
accessibility should use expected a11y attributes (elastic#196844)\n\n##
Summary\r\n\r\nWe're working on upgrading Kibana to React@18 (in Legacy
Mode). There\r\nare a couple failing tests when running React@18 in
Legacy mode and this\r\nis one of
them\r\n\r\n\r\n[[job]](https://buildkite.com/elastic/kibana-pull-request/builds/243743#01929ee7-11b8-41c3-af79-1437561a6ef0)\r\n[[logs]](https://buildkite.com/organizations/elastic/pipelines/kibana-pull-request/builds/243743/jobs/01929ee7-11b8-41c3-af79-1437561a6ef0/artifacts/01929f0a-dc7a-42ff-9a01-809c31e1dc71)\r\nFTR
Configs #58 / discover/group3 discover doc viewer
flyout\r\naccessibility should use expected a11y attributes\r\n\r\nThis
one is simple. Native to react `useId` implementation produces
ids\r\nlike this: `:r3:` and when you attempt to use such ids with id
selector\r\nthey're invalid . e.g. `document.querySelector('#:r3:')`
throws an\r\nerror. A workaround is to use attribute
selector\r\n`document.querySelector('[id=\":r3:\"]')`. This is the same
problem as\r\nwe've seen before
https://github.com/elastic/kibana/pull/191632","sha":"cf5d2e70da3af649bd97931c4e95eee954aa0bb3"}},"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/196844","number":196844,"mergeCommit":{"message":"[React@18
failing test] fix discover/group3 discover doc viewer flyout
accessibility should use expected a11y attributes (elastic#196844)\n\n##
Summary\r\n\r\nWe're working on upgrading Kibana to React@18 (in Legacy
Mode). There\r\nare a couple failing tests when running React@18 in
Legacy mode and this\r\nis one of
them\r\n\r\n\r\n[[job]](https://buildkite.com/elastic/kibana-pull-request/builds/243743#01929ee7-11b8-41c3-af79-1437561a6ef0)\r\n[[logs]](https://buildkite.com/organizations/elastic/pipelines/kibana-pull-request/builds/243743/jobs/01929ee7-11b8-41c3-af79-1437561a6ef0/artifacts/01929f0a-dc7a-42ff-9a01-809c31e1dc71)\r\nFTR
Configs #58 / discover/group3 discover doc viewer
flyout\r\naccessibility should use expected a11y attributes\r\n\r\nThis
one is simple. Native to react `useId` implementation produces
ids\r\nlike this: `:r3:` and when you attempt to use such ids with id
selector\r\nthey're invalid . e.g. `document.querySelector('#:r3:')`
throws an\r\nerror. A workaround is to use attribute
selector\r\n`document.querySelector('[id=\":r3:\"]')`. This is the same
problem as\r\nwe've seen before
https://github.com/elastic/kibana/pull/191632","sha":"cf5d2e70da3af649bd97931c4e95eee954aa0bb3"}}]}]
BACKPORT-->

Co-authored-by: Anton Dosov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants