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
No popup to choose device #358
Comments
No. Any time you want to connect to a device we will show the chooser. What use case did you have in mind? |
Reduce friction for user for e.g when he is trying to make a payment on a merchant site and checkout. Connect to the device running GATT server with no 'device chooser popup' to get payment credentials. Want to remove friction around multiple clicks for the user on browser - 1. Click on a device 2. Click on Pair. |
Is this possible - Scan for devices and connect directly if there is only one device in the scan result. Without having the user choose that one device and pair - Can this feature be provided as an option ? |
If we were to allowed that then any malicious site could connect any device around users. |
There is of course the referring device from physical web |
Is it possible to customize the device chooser - Change the text from 'wants to pair' to any other customized message and instead of 2 clicks on the chooser to just one click to start pairing. |
@thegecko |
Chrome requires the two clicks from |
If we can't replace it with a custom chooser, would it be possible to make the device chooser conform to WCAG 2.0 guidelines? It doesn't currently work too well with a screen reader. |
@tigoe if you are having trouble using Chromium's chooser with a screen reader can you file a bug with details on crbug.com? |
Will do. Though I assume web-bluetooth ever gets adopted by other browsers, this will be an API issue, not a browser issue, won't it? Ultimately developers will need to be able to customize all of the UI, including the chooser. |
As long as each browser's UI is accessible, accessibility won't require developers to customize it. |
I haven't found the problem to be that tidy in my experience. Different
users have a wide range abilities and disabilities, and customization is
more often than not necessary. Disabilities don't scale well.
But I get your point. I'll seek a solution other than. Web-bluetooth.
…On Fri, Aug 10, 2018, 12:15 PM Jeffrey Yasskin ***@***.***> wrote:
As long as each browser's UI is accessible, accessibility won't require
developers to customize it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#358 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXOn9W92nLTfK3yElZeF1_Kzfpd7ehOks5uPbGpgaJpZM4MQbg0>
.
|
The issue is that the chooser is security-sensitive UI and so there is a limit to how much the browser can allow a site to customize it. The site might be malicious and so the browser must be sure to present the chooser in a way that won't allow the site to confuse the user. The browser also cannot allow the site to observe the list of devices available in the chooser, only the device that the user has chosen. This puts severe limitations on how customizable the UI is. We don't allow customization for other permission prompts either. crbug.com/873111 is the Chromium issue and we will follow-up there. |
No, we have no plans to make the chooser UI customizable. The API status simply means that the chooser UI is implemented. |
Can I filter list with device id? |
Is it possible to directly connect to a peripheral without having the user choose the peripheral and click on 'pair' ?
The text was updated successfully, but these errors were encountered: