Link style button in a Viz Picker -> Popover #3547
-
hi! I'm working on an Overview page for Warehouses in Segment, and ran into this pattern that I wanted to double-check is accessible within a Viz Picker: It's a link-style button that initiates a popover. The PM is hoping it can be initiated on viz picker hover instead of number/button click. I'm also exploring a version that removes the sparkline chart and adds in the popover data, since there isn't a ton more within the popover that couldn't just be contained in the viz picker itself, but that's TBD. thank youuu, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Hi Colleen, Based on the Paste documentation, a Popover must be triggered by an explicit user action, such as clicking a button. It's not recommended to trigger it on hover as it might not be accessible for all users. Here's the relevant excerpt from the Accessibility section: * A Popover must be triggered by an explicit user action, e.g., clicking a button. As for the idea of removing the sparkline chart and adding the popover data directly into the viz picker, it's important to remember that the information in a Popover should never be essential to task completion. If the information is crucial, it might be better to include it directly in the viz picker. Here's the relevant excerpt from the Composition notes: Use a Popover to present supplemental information with interactive elements, like an [Anchor](/components/anchor). Information in a Popover should never be essential to task completion. I hope this helps! Let me know if you have any other questions. Best, Here are some similar discussions:
|
Beta Was this translation helpful? Give feedback.
-
hi @serifluous! We received feedback during testing today that a hover state or popover is expected to explain what the numbers are referring to within the pipeline card. Since the card is selected on click, I don't think we can use a popover, but wondering if we can use a tooltip? |
Beta Was this translation helpful? Give feedback.
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary.
Hi Colleen,
Based on the Paste documentation, a Popover must be triggered by an explicit user action, such as clicking a button. It's not recommended to trigger it on hover as it might not be accessible for all users.
Here's the relevant excerpt from the Accessibility section:
* A Popover must be triggered by an explicit user action, e.g., clicking a button.
As for the idea of removing the sparkline chart and adding the popover data directly into the viz picker, it's important to remember that the information in a Popover should neve…