Skip to content

Commit dffbe66

Browse files
authored
Merge pull request #2867 from Azure/shpaster/a11y
Minor accessibility fixes.
2 parents 9e1ae38 + b841935 commit dffbe66

4 files changed

Lines changed: 16 additions & 1 deletion

File tree

desktop/i18n/resources.resjson

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"account-summary-card.url": "Url",
3535
"activity-monitor-item.progressBar": "Item progress",
3636
"add-certificate-form.certificate.deprecationWarning": "The Batch account certificates feature is deprecated and will be retired on February 29, 2024. Please transition to using Azure Key Vault to securely access and install certificates on your Batch pools.",
37+
"add-certificate-form.certificate.deprecationWarningLinkTitle": "Documentation on certificate feature deprecation",
3738
"add-certificate-form.certificate.description": "Select a certificate (pfx or cer) to upload",
3839
"add-certificate-form.certificate.invalid": "Certificate need to be valid CER or PFX files only",
3940
"add-certificate-form.certificate.label": "Certificate",

desktop/src/app/components/certificate/action/add/add-certificate-form.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
<bl-banner class="certificate-deprecation-warning" type="warning">
88
<div message>
99
{{'add-certificate-form.certificate.deprecationWarning' | i18n }}
10-
<a class="certificate-warning-alternative-link" (click)="openLink('https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide')" href="javascript:void(0)">{{'common.learnMore' | i18n}}</a>
10+
<a class="certificate-warning-alternative-link"
11+
(click)="openLink('https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide')"
12+
[title]="'add-certificate-form.certificate.deprecationWarningLinkTitle' | i18n"
13+
href="javascript:void(0)">{{'common.learnMore' | i18n}}</a>
1114
</div>
1215
</bl-banner>
1316
<p>{{ form.controls.certificate.value }}</p>

desktop/src/app/components/certificate/action/add/add-certificate-form.i18n.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ add-certificate-form:
77
required: Please select a valid certificate file
88
invalid: Certificate need to be valid CER or PFX files only
99
deprecationWarning: The Batch account certificates feature is deprecated and will be retired on February 29, 2024. Please transition to using Azure Key Vault to securely access and install certificates on your Batch pools.
10+
deprecationWarningLinkTitle: Documentation on certificate feature deprecation
1011
password:
1112
label: Certificate password
1213
required: Password is required if the certificate format is '.pfx'

desktop/src/app/styles/vendor/material-theme.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,14 @@ mat-calendar .mat-calendar-table-header {
211211
mat-dialog-container {
212212
border: 1px solid currentColor;
213213
}
214+
.mat-tab-label {
215+
bl-button {
216+
border: none;
217+
}
218+
&.mat-tab-label-active, &.mat-tab-label-active > .mat-tab-label-content {
219+
background-color: Highlight;
220+
color: Canvas;
221+
forced-color-adjust: none;
222+
}
223+
}
214224
}

0 commit comments

Comments
 (0)