Permissions prompt has extra focus-able button?
Categories
(Firefox :: Site Permissions, defect, P2)
Tracking
()
People
(Reporter: j.heavener, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [foxfooding][internal] [proton-foxfooding] [proton-doorhangers] [priority:2b])
Attachments
(1 file)
1.40 MB,
video/quicktime
|
Details |
I'm going to have a hard time describing this. Best to refer to the attached video.
steps to reproduce/what did you do?
- Navigate to a web page that attempts to open a pop-up window
- Observe the new permissions icon/prompt in the address bar
- Using the keyboard, tab around the address bar icons
expected behavior/ what did you think will happen?
- The dual "slider + blocked window" icon button is wholly focus-able
- Hitting tab again would take me to the address field
actual behavior/ what actually happened?
- The dual "slider + blocked window" icon button is wholly focus-able, but...
- Hitting tab again focuses again on just the "blocked window" icon, as if it were an additional nested button
additional notes
If you focus on the two-icon button, hit enter so the prompt is visible, and then hit escape the prompt disappears. If you do this while focused just on the "blocked window" icon, hitting escape does not make the prompt disappear.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:mossop, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 2•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
I'm working on a custom Keyboard that will need to access the micrphone for speech recognition. The system that actually uses speech recognition is already in place, but I wanted to prompt the user to give permission only at the moment they press the microphone button. The issue is that the code I'm used to use
if (ContextCompat.checkSelfPermission(...) == PackageManager.PERMISSION_DENIED) {
ActivityCompat.requestPermissions(activity, permissions, 0);
}
requires an activity, which I cannot access from an Input Method Service. https://www.pakistangk.com/ I actually managed to make it work by creating a new activity and piping all the permissions requests there, but I'd like it to not hide the Keyboard when doing so. Here's how I start the new Activity:
Intent intent = new Intent(this, PermissionsActivity.class); //this being the Input Method Service
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
intent.putExtra(PermissionsActivity.PERMISSIONS_EXTRA, permissions array);
Description
•