-
Notifications
You must be signed in to change notification settings - Fork 23
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
popover=hint #305
Comments
I think it would be good to address the issue we discussed in the last WHATNOT about features participating in the top layer concept all needing to be able to nest. As this would be another such feature and should ideally build on that envisioned infrastructure. |
Yep, that's a good point. I think that should be roughly orthogonal to this feature, or at least should "just work", but I'll get that prototyped to see what it looks like. |
Some other thoughts upon reading more:
|
Yeah, we discussed this at some length in OpenUI, in various places. But the main discussion is located here: openui/open-ui#532. You'll note in my OP I agree with you that the primary use case is "tooltip" (and also in this comment openui/open-ui#532 (comment)). But there was some pushback to using the name of a use case for the value. I'd personally be fine with
The idea is that auto can't be nested inside hints. The behavior will be that the topmost popover ancestor algorithm will be modified so that it does not detect an auto "inside" a hint as forming an ancestor relationship. In practice this means that opening the auto will cause the hint to close.
I'm almost done implementing the modal dialog and fullscreen interactions thing, and I've prototyped it for both auto and the new hint proposed behavior. You'll have to trust me for now, but it seems like it'll fall out fairly naturally. |
@mfreed7 I left a comment on the Open UI issue. I can't reopen. I feel pretty strongly naming should be consistent across the web platform. Getting |
Thanks. I commented there also and added that issue back to the agenda to talk about again. |
Hey @mfreed7, we discussed this a bit again and one question we have is whether this is going to be the final |
We (Chromium) don't have any plans to pursue other values. And I also haven't heard any requests for other values/behaviors. The set of three ( |
Any further thoughts on this one? There's now an approved spec PR and a prototype implementation that seems to work nicely. We'd love to get multi-implementer support. |
https://bugs.webkit.org/show_bug.cgi?id=275048 here's the bug |
Colleagues and I discussed this quite a bit after more closely looking at the primary use case of this feature (as well as For certain element types there are workarounds (e.g., As such we are currently leaning negative on this idea. |
Thanks for the feedback!
This sounds like you're actually supportive of trying to solve the "tooltips" use case, am I correct? You say that rich tooltips are a valuable idea, and the existing platform support is relatively bad, especially for mobile. Just confirming that your view is positive on the use case, but negative on the particulars. If I'm wrong about that, please help me understand the view.
I agree that the text-only workarounds (which are typically adding the plain-text
I'm actually fine with either solution! Solution 1, which currently doesn't exist, is obviously better, once you figure out what it is. In the meantime, solution 2 actually does solve a problem for users today, in that it provides access to otherwise inaccessible content on mobile. The current state of affairs for rich tooltips on the web today is that they're most often completely broken and inaccessible to touch users. Please help me solve this problem! |
One additional comment here. This standards position request is about the |
In our view they are tied. If we don't have a good cross-platform solution for rich tooltips we should not be adding anything that further encourages their use. |
Combining this with the comment above, it sounds like you're supportive of tooltips, but don't feel there's a good solution for touch. In that case, please help us design a good solution! The best we have right now is one of these two things:
I'm in favor of #1, because I believe it leaves some flexibility to browser vendors and even hardware manufacturers to innovate on touchscreen mechanics. However, I am willing to live with #2 if that's what it takes to help move tooltips forward on the web. But please help me come up with a solution that works for WebKit. Hopefully "we don't know how to solve this" isn't how we leave this. |
I just want to quickly mention that we've been discussing the touchscreen interaction pattern for the Absent any other feedback here, we are assuming "option #2" from my comment above is the required path to gaining WebKit's support for the broader hovercard/tooltip feature. Hopefully you can help us design something that is good for users and developers. |
It's not clear to me how this integrates well with what platforms are doing today. If you end up with a situation where an end user would have to longpress once and then tap once to get the same UI a desktop user merely hovers for, it's not clear we are designing something that people actually want. I suspect this is simply a case where standardization is happening too soon as there's no clear cross-platform solution and websites and apps also haven't really invested in alternatives thus far that have seen wide adoption. Tooltips have had almost two decades to come to mobile platforms and only now are we starting to see some of that and then only for certain elements with activation behavior. |
@annevk regardless of So just to really dial into the point:
|
I agree with others that hint should be considered separately of
@annevk The more common user experience on mobile will be just pressing the button. UX best practices strongly recommend against using tooltips for vital information. Tooltips are used for supplementary slightly useful hints, not essential tasks. Even though we have lived in a mobile-first era for a long time now, workplace apps will always remain desktop first or even desktop only (e.g. Figma for web is desktop only, Photoshop for Web is desktop only, I worked on Gradle Enterprise, a complex app with lots of large tables where mobile was an afterthought as people use the app when they are at work). For that use-case, tooltips are a clearly established pattern that work well. SwiftUI has a Tooltips remain ubiquitous in design systems and component libraries. |
@keithamus thank you for sharing that perspective. It made colleagues and I take another look at this and we'd like to resolve this with "position: support" one week from now, barring any objection. As it does indeed seem separable enough. @o-t-w it seems there is no |
WebKittens
No response
Title of the spec
HTML: popover=hint
URL to the spec
whatwg/html#9778
URL to the spec's repository
https://github.com/whatwg/html
Issue Tracker URL
No response
Explainer URL
https://open-ui.org/components/popover-hint.research.explainer/
TAG Design Review URL
No response
Mozilla standards-positions issue URL
mozilla/standards-positions#965
WebKit Bugzilla URL
https://bugs.webkit.org/show_bug.cgi?id=275048
Radar URL
No response
Description
This is related to, but not blocked/gated by, the invokers proposal.
See also, whatwg/html#9776.
The text was updated successfully, but these errors were encountered: