mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add aria label to connection string pages (#16420)
This commit is contained in:
@@ -246,6 +246,7 @@ export function numVCores(vCores: string | undefined): string {
|
||||
}
|
||||
}
|
||||
export function updated(when: string): string { return localize('arc.updated', "Updated {0}", when); }
|
||||
export function connectionString(type: string): string { return localize({ key: 'arc.connectionString', comment: ['{0} is the name of the type of connection string (e.g. Java)'] }, "Connection string for {0}", type); }
|
||||
export function copyConnectionStringToClipboard(type: string): string { return localize({ key: 'arc.copyConnectionStringToClipboard', comment: ['{0} is the name of the type of connection string (e.g. Java)'] }, "Copy {0} Connection String to clipboard", type); }
|
||||
export function copyValueToClipboard(valueName: string): string { return localize({ key: 'arc.copyValueToClipboard', comment: ['{0} is the name of the type of value being copied (e.g. Coordinator endpoint)'] }, "Copy {0} to clipboard", valueName); }
|
||||
|
||||
|
||||
@@ -104,7 +104,8 @@ export abstract class BaseInputKeyValue extends KeyValue {
|
||||
this.input = modelBuilder.inputBox().withProps({
|
||||
value: value,
|
||||
readOnly: true,
|
||||
multiline: multiline
|
||||
multiline: multiline,
|
||||
ariaLabel: loc.connectionString(key)
|
||||
}).component();
|
||||
|
||||
const inputContainer = modelBuilder.flexContainer().withLayout({ alignItems: 'center' }).component();
|
||||
|
||||
Reference in New Issue
Block a user