Fixed accessibility issues for main panels.

This commit is contained in:
Ganesh Jaybhay 2020-09-01 12:58:23 +05:30 committed by Akshay Joshi
parent b5c299c5ad
commit fd0ed81f7f
4 changed files with 9 additions and 9 deletions

View File

@ -144,7 +144,7 @@ window.onload = function(e){
<ul class="dropdown-menu dropdown-menu-right" role="menu">
{% if auth_only_internal %}
<li>
<a class="dropdown-item" href="#" onclick="pgAdmin.Browser.UserManagement.change_password(
<a class="dropdown-item" href="#" role="menuitem" onclick="pgAdmin.Browser.UserManagement.change_password(
'{{ url_for('browser.change_password') }}'
)">
{{ _('Change Password') }}
@ -153,10 +153,10 @@ window.onload = function(e){
<li class="dropdown-divider"></li>
{% endif %}
{% if is_admin %}
<li><a class="dropdown-item" href="#" onclick="pgAdmin.Browser.UserManagement.show_users()">{{ _('Users') }}</a></li>
<li><a class="dropdown-item" href="#" role="menuitem" onclick="pgAdmin.Browser.UserManagement.show_users()">{{ _('Users') }}</a></li>
<li class="dropdown-divider"></li>
{% endif %}
<li><a class="dropdown-item" href="{{ logout_url }}">{{ _('Logout') }}</a></li>
<li><a class="dropdown-item" role="menuitem" href="{{ logout_url }}">{{ _('Logout') }}</a></li>
</ul>
</li>
</ul>

View File

@ -99,7 +99,7 @@ define('misc.dependencies', [
},
{
name: 'field',
label: ' ', // label kept blank, it will change dynamically
label: gettext('field'),
cell: 'string',
editable: false,
},

View File

@ -100,7 +100,7 @@ define('misc.dependents', [
},
{
name: 'field',
label: ' ', // label kept blank, it will change dynamically
label: gettext('field'),
cell: 'string',
editable: false,
},

View File

@ -1,12 +1,12 @@
<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">