-
Notifications
You must be signed in to change notification settings - Fork 59
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
Improve guidance on UI for user consenting #352
Comments
I'll provide my personal perspective to this particular question with my chair hat off:
Implementers who think prompts provide a good UX for their users are encouraged to do user studies on different strings for prompts to better understand what would work for their users. I feel this questions is not something a web specification should provide an answer to. Some implementers might wish to innovate further in terms of the UI. Since the spec does not mandate any specific strings or UI patterns to be used for user consenting, implementers are free to implement e.g. a tutorial the user has to click through on the first use of a particular sensor API to ensure s/he's aware of the potential risks. My hunch is an animated guide would work much better than any string. That said, I leave it to interested implementers to do a user study on that topic. What I can say is such an on-boarding experience is a common convention in mobile apps on the first use, and people seem to get it, since that pattern is proliferating. My suggestion is the sensor specifications stay agnostic with respect to UI details, and instead provide needed hooks for implementers (Secure Context, Permissions API, Feature Policy etc.) and use an appropriate API design (e.g. non-blocking) to allow UI innovation to happen. |
dbaron raised good points, few comments from my side. In my opinion, As for the UX related point, at the moment, we are experimenting with UI that should improve user awareness and provide setting to control access to device sensors. Experimentation includes:
I think that the specification should not enforce UI concepts, rather than provide extension points that can be used by browser engineers to improve privacy & security aspects. In my opinion, we have communicated security threats and possible mitigation strategies in the core spec, moreover, extension specifications have more information whenever applicable. |
You should, because if you can't answer it, it's unclear whether it's even viable. |
No web specification mandates any specific strings for prompts. Maybe I misunderstood what you meant? Things related to UI and UX have historically been out of scope for web specifications and an area that allows product innovation and differentiation. We added text to the spec in an attempt to address this issue: #353 We appreciate your feedback. |
Let me put it differently: I don't think there's a way to ask this question and that's why this feature might not be viable. For other specifications it was much clear that a somewhat reasonable UX could be created. |
The group seems to agree on this first part of the assertion if we consider it scoped to prompting as a mechanism for user consenting.
But think differently regarding the second part. Chrome also felt it is hard to present a prompt to the user in an easily understandable way (see w3ctag/design-reviews#207 (comment)) and that's why we implemented new disclosure mechanisms and related UI as described in #352 (comment). It should be said, Chrome team working on the feature is not stopping here. We will improve related mechanisms based on user feedback and further research. Based on the concrete feedback received, this group added a note at the top of the security and privacy section to communicate the essence of this important issue and also provided some concrete examples, see https://w3c.github.io/sensors/#security-and-privacy If you have further suggestions on how the group could reword the note, please let us know. |
Per discussion on the WG call, closing this issue. To be reopened if new information surfaces. |
Chromium implementation of "ask for forgiveness" UI has landed: https://crbug.com/796904 AFAICT, this implementation is conformant with the additional privacy-enhancing mechanisms the spec proposes in its informative note: https://w3c.github.io/sensors/#security-and-privacy |
In a response to the DAS WG's TAG review summary, the following question was brought up and would benefit from a revisit:
The DAS WG's current position on the issue is that such UI aspects (including related strings, UI elements, UX flow) are considered implementation details. The specifications in review reflect this position.
However, given this issue was brought up suggests implementers might benefit from more elaborate informative guidance, so I'd ask the group to look into opportunities to further clarify related informative guidance in the related specification(s).
The text was updated successfully, but these errors were encountered: