mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-09 23:15:58 -06:00
Fixed accessibility issues in various dialogs. Fixes #6077
This commit is contained in:
parent
3012778def
commit
dbb4a46d46
@ -29,5 +29,6 @@ Bug fixes
|
||||
| `Issue #6058 <https://redmine.postgresql.org/issues/6058>`_ - Ensure that the rename panel should be disabled when the SQL file opened in the query tool.
|
||||
| `Issue #6061 <https://redmine.postgresql.org/issues/6061>`_ - Fixed extra parentheses issue around joins for Views.
|
||||
| `Issue #6065 <https://redmine.postgresql.org/issues/6065>`_ - Fixed accessibility issues in schema diff module.
|
||||
| `Issue #6077 <https://redmine.postgresql.org/issues/6077>`_ - Fixed accessibility issues in various dialogs.
|
||||
| `Issue #6084 <https://redmine.postgresql.org/issues/6084>`_ - Fixed TypeError exception in schema diff when selected any identical object.
|
||||
| `Issue #6096 <https://redmine.postgresql.org/issues/6096>`_ - Updated deployment documentation, refer correctly to uWSGI where Gunicorn had been referenced.
|
||||
|
@ -1613,6 +1613,8 @@ define('pgadmin.browser.node', [
|
||||
|
||||
// Show contents before buttons
|
||||
j.prepend(content);
|
||||
// add required attributes to select2 input to resolve accessibility issue.
|
||||
$('.select2-search__field').attr('aria-label', 'select2');
|
||||
view.$el.closest('.wcFloating').find('.wcFrameButtonBar > .wcFrameButton[style!="display: none;"]').on('keydown', function(e) {
|
||||
|
||||
if(e.shiftKey && e.keyCode === 9) {
|
||||
|
@ -319,7 +319,7 @@ define('misc.bgprocess', [
|
||||
<div class="card-header bg-primary d-flex">
|
||||
<div>${self.type_desc}</div>
|
||||
<div class="ml-auto">
|
||||
<button class="btn btn-sm-sq btn-primary pg-bg-close"><i class="fa fa-lg fa-times" role="img"></i></button>
|
||||
<button class="btn btn-sm-sq btn-primary pg-bg-close" aria-label='close'><i class="fa fa-lg fa-times" role="img"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body px-2">
|
||||
|
@ -65,7 +65,7 @@ $text-height-calc: $line-height-base*$font-size-base/1rem;
|
||||
$grid-gutter-width: 15px;
|
||||
$border-radius: 0.25rem;
|
||||
|
||||
$text-muted: #667185 !default;
|
||||
$text-muted: #646B82 !default;
|
||||
$header-bg: $color-bg !default;
|
||||
$badge-header-bg: $header-bg !default;
|
||||
|
||||
|
@ -591,6 +591,7 @@ define([
|
||||
|
||||
onshow: function() {
|
||||
var container = $(this.elements.body).find('.tab-content:first > .tab-pane.active:first');
|
||||
$('.select2-search__field').attr('aria-label', 'select2');
|
||||
commonUtils.findAndSetFocus(container);
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user