mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Allow screen-reader to read relationship attributes for tab, tabpanels and tables under it. Similar changes are done for subnode controls.
2) Add role="img" for font icons. Fixes #4764
This commit is contained in:
committed by
Akshay Joshi
parent
e29ea15554
commit
f1a18749f6
@@ -353,7 +353,7 @@ define(['sources/gettext', 'underscore', 'jquery', 'backbone', 'backform',
|
||||
this.$el.attr('target', this.elId);
|
||||
|
||||
var collection = this.model.get(this.column.get('name')),
|
||||
tbl = $('<table></table>').appendTo(this.$el),
|
||||
tbl = $('<table aria-label='+this.column.get('label')+'></table>').appendTo(this.$el),
|
||||
self = this,
|
||||
privilege = true, with_grant = true;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ define('pgadmin.node.server', [
|
||||
if (_.isUndefined(this.get('label')) ||
|
||||
_.isNull(this.get('label')) ||
|
||||
String(this.get('label')).replace(/^\s+|\s+$/g, '') == '') {
|
||||
var errmsg = gettext('Label must be specified.');
|
||||
var errmsg = gettext('Security label must be specified.');
|
||||
this.errorModel.set('label', errmsg);
|
||||
return errmsg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user