mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-13 06:24:45 -05: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
@@ -87,7 +87,9 @@ export class QueryHistoryItem {
|
||||
|
||||
let query_source = this.entry.query_source;
|
||||
if(query_source)
|
||||
this.$el.find('#query_source_icon').addClass(query_source.ICON_CSS_CLASS);
|
||||
this.$el.find('#query_source_icon')
|
||||
.addClass(query_source.ICON_CSS_CLASS)
|
||||
.attr('role', 'img');
|
||||
|
||||
if(this.entry.is_pgadmin_query) {
|
||||
this.$el.addClass('pgadmin-query-history-entry');
|
||||
|
||||
Reference in New Issue
Block a user