Ensure that element should get highlighted when they get focus on using Tab key. Fixes #4245

pull/23/head
Aditya Toshniwal 2019-05-15 17:42:07 +05:30 committed by Akshay Joshi
parent 2cd58efcdd
commit db4bb22cc6
3 changed files with 8 additions and 3 deletions

View File

@ -20,5 +20,6 @@ Bug fixes
| `Bug #4219 <https://redmine.postgresql.org/issues/4219>`_ - Ensure popper.js is installed when needed.
| `Bug #4227 <https://redmine.postgresql.org/issues/4227>`_ - Fixed Tab key navigation for Maintenance dialog.
| `Bug #4244 <https://redmine.postgresql.org/issues/4244>`_ - Fix Tab key issue for Toggle switch controls and button on the dialog footer in Safari browser.
| `Bug #4245 <https://redmine.postgresql.org/issues/4245>`_ - Ensure that element should get highlighted when they get focus on using Tab key.
| `Bug #4246 <https://redmine.postgresql.org/issues/4246>`_ - Fixed console error when subnode control is used in panels.
| `Bug #4261 <https://redmine.postgresql.org/issues/4261>`_ - Stop using application/x-javascript as a mime type and use the RFC-compliant application/javascript instead.

View File

@ -54,7 +54,7 @@ define(
if (!that.showTitle)
myPanel.title(false);
else {
var title_elem = '<a href="#" tabindex="0" class="panel-link-heading">' + (title || that.title) + '</a>';
var title_elem = '<a href="#" tabindex="-1" class="panel-link-heading">' + (title || that.title) + '</a>';
myPanel.title(title_elem);
if (that.icon != '')
myPanel.icon(that.icon);

View File

@ -657,8 +657,12 @@ fieldset.inline-fieldset > div {
outline: none;
}
input[type="checkbox"]:focus {
outline: $color-primary auto 5px !important;
input[type="checkbox"]:focus,
a:focus {
&.navbar-brand, &.dropdown-item {
outline: none !important;
}
outline: $input-focus-border-color auto 5px !important;
}
div.rolmembership {