mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 01:25:36 -05:00
PostgreSQL extension Accessibility issues (#16620)
* 1276734 * Set role to list * Pr changes * Set width to be a constant * Remove minwidth * Update button plugin * Fix operators * Pr
This commit is contained in:
@@ -201,6 +201,7 @@ export class OptionsDialog extends Modal {
|
||||
|
||||
let serviceOptions: azdata.ServiceOption[] = categoryMap[category];
|
||||
let bodyContainer = $('table.optionsDialog-table');
|
||||
bodyContainer.setAttribute('role', 'presentation');
|
||||
this.fillInOptions(bodyContainer, serviceOptions);
|
||||
append(this._optionGroupsContainer!, bodyContainer);
|
||||
}
|
||||
|
||||
@@ -34,6 +34,8 @@ import { IEditorProgressService } from 'vs/platform/progress/common/progress';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
|
||||
const ShowActionsText: string = nls.localize('dashboard.explorer.actions', "Show Actions");
|
||||
const LabelColoumnActions: string = nls.localize('dashboard.explorer.actionsColumn', "Actions");
|
||||
const ActionsColumnWidth: number = 50;
|
||||
const NameWithIconProperty: string = 'NameWithIcon';
|
||||
export const ConnectionProfilePropertyName: string = 'connection_profile';
|
||||
|
||||
@@ -72,7 +74,10 @@ export class ExplorerTable extends Disposable {
|
||||
this._actionsColumn = new ButtonColumn<Slick.SlickData>({
|
||||
id: 'actions',
|
||||
iconCssClass: 'toggle-more',
|
||||
title: ShowActionsText
|
||||
title: ShowActionsText,
|
||||
name: LabelColoumnActions,
|
||||
width: ActionsColumnWidth,
|
||||
resizable: false
|
||||
});
|
||||
this._table.registerPlugin(this._actionsColumn);
|
||||
this._register(this._actionsColumn.onClick((args) => {
|
||||
|
||||
Reference in New Issue
Block a user