mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix main window tab navigation accessibility issue:
1) Dashboard -> Server Activity grid: terminate the session, cancel active button not navigable using tab key. 2) SQL -> If the focus inside code mirror control tab navigation not working. Fixes #4930
This commit is contained in:
committed by
Akshay Joshi
parent
6a5d98cf19
commit
397a1b9616
@@ -52,6 +52,13 @@ define('pgadmin.dashboard', [
|
||||
'\'></i>'
|
||||
);
|
||||
}
|
||||
this.$el.attr('tabindex', 0);
|
||||
this.$el.on('keydown', function(e) {
|
||||
// terminating session or cancel the active query.
|
||||
if (e.keyCode == 32) {
|
||||
self.$el.click();
|
||||
}
|
||||
}),
|
||||
this.delegateEvents();
|
||||
return this;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user