mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05:00
Add aria labels and consolidate loc strings (#8494)
This commit is contained in:
4
src/sql/azdata.proposed.d.ts
vendored
4
src/sql/azdata.proposed.d.ts
vendored
@@ -90,6 +90,7 @@ declare module 'azdata' {
|
||||
export interface DeclarativeTableColumn {
|
||||
headerCssStyles?: { [key: string]: string };
|
||||
rowCssStyles?: { [key: string]: string };
|
||||
ariaLabel?: string;
|
||||
}
|
||||
|
||||
export enum DeclarativeDataType {
|
||||
@@ -122,4 +123,7 @@ declare module 'azdata' {
|
||||
export enum AzureResource {
|
||||
OssRdbms = 2
|
||||
}
|
||||
|
||||
export interface DeclarativeTableProperties extends ComponentProperties {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ export enum DeclarativeDataType {
|
||||
<table role=grid #container *ngIf="columns" class="declarative-table" [style.height]="getHeight()" [attr.aria-label]="ariaLabel">
|
||||
<thead>
|
||||
<ng-container *ngFor="let column of columns;">
|
||||
<th class="declarative-table-header" tabindex="-1" aria-sort="none" [ngStyle]="column.headerCssStyles">{{column.displayName}}</th>
|
||||
<th class="declarative-table-header" tabindex="-1" aria-sort="none" [attr.aria-label]="column.ariaLabel" [ngStyle]="column.headerCssStyles">{{column.displayName}}</th>
|
||||
</ng-container>
|
||||
</thead>
|
||||
<ng-container *ngIf="data">
|
||||
|
||||
Reference in New Issue
Block a user