mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35:37 -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:
@@ -29,7 +29,7 @@ export class ButtonColumn<T extends Slick.SlickData> extends BaseClickableColumn
|
||||
public get definition(): Slick.Column<T> {
|
||||
return {
|
||||
id: this.options.id || this.options.title || this.options.field,
|
||||
width: this.options.showText === true ? this.options.width : 26,
|
||||
width: this.options.width ?? 26,
|
||||
formatter: (row: number, cell: number, value: any, columnDef: Slick.Column<T>, dataContext: T): string => {
|
||||
const iconValue = getIconCellValue(this.options, dataContext);
|
||||
const escapedTitle = escape(iconValue.title ?? '');
|
||||
@@ -39,7 +39,7 @@ export class ButtonColumn<T extends Slick.SlickData> extends BaseClickableColumn
|
||||
return `<button tabindex=-1 class="${iconCssClasses} ${buttonTypeCssClass}" title="${escapedTitle}" aria-label="${escapedTitle}">${buttonText}</button>`;
|
||||
},
|
||||
name: this.options.name,
|
||||
resizable: this.options.showText === true, // Image only button has fixed width.
|
||||
resizable: this.options.resizable,
|
||||
selectable: false
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user