-
Notifications
You must be signed in to change notification settings - Fork 842
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
[EuiSelectableTemplateSitewide] Allow default a link behavior for results #7787
Comments
Hey Rachel! Real quick, can we get a priority level from you/your team on this and when you'd want this by? There are accessibility concerns here (the In the interim, I think elastic/kibana#147710 is resolvable without needing native
This sentence doesn't make sense to me, I'm sorry. A new page/tab will always cause a full load of Kibana in any case, that's straight up how they work. Default link behavior wouldn't change this. |
@cee-chen is right mentioning the It's perfectly valid to add a click handler to the list item so we can open that item in a new tab. We should also consider keyboard behavior allowing users to The trick will be communicating to screen readers that these non-links will behave like links including opening in new tabs using default user behaviors. LMK if I've missed the original problem statement or you'd like to discuss further. |
Sorry! I did a fix on the Kibana side that was merged recently - elastic/kibana#183762 |
I'm opening this issue to reference in a future PR of mine. The global search component within Kibana is using the EuiSelectableTemplateSitewide component and in issue elastic/kibana#147710 I am tasked with having the default link behavior of cmd + click open the global search results into a new tab.
Some avenues I plan to explore in a PR through EUI is through the renderOptions prop to have the
<li>
from EuiSelectableList be wrapped in an tag. I want to make sure that this doesn't impact styling.The pickle with window.open() is that we want to use Kibana's navigateToUrl() function that prevents full reloads of Kibana to make it a better user experience.
This issue seems connected to this already existing issue #6376 (but please correct me if I'm wrong).
The text was updated successfully, but these errors were encountered: