mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added aria-label attribute wherever missing for accessibility.
This commit is contained in:
committed by
Akshay Joshi
parent
37f76142fb
commit
8c4dff057f
@@ -53,6 +53,7 @@ export class BackupDialogWrapper extends DialogWrapper {
|
||||
name: 'dialog_help',
|
||||
type: 'button',
|
||||
label: gettext('Backup'),
|
||||
'aria-label': gettext('Help'),
|
||||
url: url_for('help.static', {
|
||||
'filename': get_help_file(this.typeOfDialog),
|
||||
}),
|
||||
|
@@ -130,6 +130,7 @@ function initFilterDialog(alertify, pgBrowser) {
|
||||
name: 'dialog_help',
|
||||
type: 'button',
|
||||
label: gettext('Data Filter'),
|
||||
'aria-label': gettext('Help'),
|
||||
url: url_for('help.static', {
|
||||
'filename': 'viewdata_filter.html',
|
||||
}),
|
||||
|
@@ -53,7 +53,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group mr-1" role="group" aria-label="">
|
||||
<button id="btn-find" type="button" class="btn btn-sm btn-secondary" title="{{ _('Find (Ctrl/Cmd+F)') }}">
|
||||
<button id="btn-find" type="button" class="btn btn-sm btn-secondary" aria-label="{{ _('Find') }}" title="{{ _('Find (Ctrl/Cmd+F)') }}">
|
||||
<i class="fa fa-search sql-icon-lg" aria-hidden="true" tabindex="0" role="img"></i>
|
||||
</button>
|
||||
<button id="btn-find-menu-dropdown" type="button" class="btn btn-sm btn-secondary dropdown-toggle dropdown-toggle-split"
|
||||
@@ -151,7 +151,7 @@
|
||||
<div class="btn-group mr-1" role="group" aria-label="">
|
||||
<button id="btn-edit-dropdown" type="button" class="btn btn-sm btn-secondary dropdown-toggle"
|
||||
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
|
||||
title="{{ _('Edit') }}" tabindex="0">
|
||||
aria-label="{{ _('Edit') }}" title="{{ _('Edit') }}" tabindex="0">
|
||||
<i class="fa fa-pencil-square-o sql-icon-lg" aria-hidden="true" role="img"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
|
@@ -56,6 +56,7 @@ try {
|
||||
accesskey=""
|
||||
tabindex="0"
|
||||
autofocus="autofocus"
|
||||
aria-label="{{ gettext('Step into') }}"
|
||||
disabled>
|
||||
<i class="fa fa-indent sql-icon-lg"></i>
|
||||
</button>
|
||||
@@ -63,6 +64,7 @@ try {
|
||||
title=""
|
||||
accesskey=""
|
||||
tabindex="0"
|
||||
aria-label="{{ gettext('Step over') }}"
|
||||
disabled>
|
||||
<i class="fa fa-outdent sql-icon-lg"></i>
|
||||
</button>
|
||||
@@ -70,6 +72,7 @@ try {
|
||||
title=""
|
||||
accesskey=""
|
||||
tabindex="0"
|
||||
aria-label="{{ gettext('Continue/Start') }}"
|
||||
disabled>
|
||||
<i class="fa fa-play-circle sql-icon-lg"></i>
|
||||
</button>
|
||||
@@ -79,6 +82,7 @@ try {
|
||||
title=""
|
||||
accesskey=""
|
||||
tabindex="0"
|
||||
aria-label="{{ gettext('Toggle breakpoint') }}"
|
||||
disabled>
|
||||
<i class="fa fa-circle sql-icon-lg"></i>
|
||||
</button>
|
||||
@@ -86,6 +90,7 @@ try {
|
||||
title=""
|
||||
accesskey=""
|
||||
tabindex="0"
|
||||
aria-label="{{ gettext('Clear all breakpoints') }}"
|
||||
disabled>
|
||||
<i class="fa fa-ban sql-icon-lg"></i>
|
||||
</button>
|
||||
@@ -95,6 +100,7 @@ try {
|
||||
accesskey=""
|
||||
title=""
|
||||
tabindex="0"
|
||||
aria-label="{{ gettext('Stop') }}"
|
||||
disabled>
|
||||
<i class="fa fa-stop-circle sql-icon-lg"></i>
|
||||
</button>
|
||||
|
@@ -286,6 +286,7 @@ define([
|
||||
name: 'dialog_help',
|
||||
type: 'button',
|
||||
label: gettext('Maintenance'),
|
||||
'aria-label': gettext('Help'),
|
||||
url: url_for(
|
||||
'help.static', {
|
||||
'filename': 'maintenance_dialog.html',
|
||||
|
@@ -47,6 +47,7 @@ export class RestoreDialogWrapper extends DialogWrapper {
|
||||
name: 'dialog_help',
|
||||
type: 'button',
|
||||
label: gettext('Restore'),
|
||||
'aria-label': gettext('Help'),
|
||||
url: url_for('help.static', {
|
||||
'filename': 'restore_dialog.html',
|
||||
}),
|
||||
|
Reference in New Issue
Block a user