mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-19 17:14:45 +00:00
[ACS-9236] a11y testing: Create Rule - Buttons must have discernible text (#4381)
This commit is contained in:
parent
85e0b43359
commit
0446ef6090
@ -5,10 +5,12 @@
|
|||||||
},
|
},
|
||||||
"EDIT_RULE_DIALOG": {
|
"EDIT_RULE_DIALOG": {
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
|
"CLOSE": "Close",
|
||||||
"CREATE": "Create",
|
"CREATE": "Create",
|
||||||
"CREATE_TITLE": "Create a rule",
|
"CREATE_TITLE": "Create a rule",
|
||||||
"UPDATE": "Update",
|
"UPDATE": "Update",
|
||||||
"UPDATE_TITLE": "Edit a rule"
|
"UPDATE_TITLE": "Edit a rule",
|
||||||
|
"OPEN_ACTION_MENU": "Open action menu"
|
||||||
},
|
},
|
||||||
"RULE_DETAILS": {
|
"RULE_DETAILS": {
|
||||||
"LABEL": {
|
"LABEL": {
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
<button
|
<button
|
||||||
mat-icon-button
|
mat-icon-button
|
||||||
data-automation-id="rule-action-list-action-menu"
|
data-automation-id="rule-action-list-action-menu"
|
||||||
|
[attr.aria-label]="'ACA_FOLDER_RULES.EDIT_RULE_DIALOG.OPEN_ACTION_MENU' | translate"
|
||||||
*ngIf="!readOnly" [matMenuTriggerFor]="menu">
|
*ngIf="!readOnly" [matMenuTriggerFor]="menu">
|
||||||
<mat-icon>more_vert</mat-icon>
|
<mat-icon>more_vert</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
@ -36,7 +36,8 @@
|
|||||||
[formControl]="control"
|
[formControl]="control"
|
||||||
[readOnly]="readOnly" />
|
[readOnly]="readOnly" />
|
||||||
|
|
||||||
<button mat-icon-button [matMenuTriggerFor]="menu" *ngIf="!readOnly" data-automation-id="condition-actions-button">
|
<button mat-icon-button [matMenuTriggerFor]="menu" *ngIf="!readOnly" data-automation-id="condition-actions-button"
|
||||||
|
[attr.aria-label]="'ACA_FOLDER_RULES.EDIT_RULE_DIALOG.OPEN_ACTION_MENU' | translate">
|
||||||
<mat-icon>more_vert</mat-icon>
|
<mat-icon>more_vert</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
<div class="aca-edit-rule-dialog__header__title" data-automation-id="edit-rule-dialog-title">
|
<div class="aca-edit-rule-dialog__header__title" data-automation-id="edit-rule-dialog-title">
|
||||||
{{ title | translate }}
|
{{ title | translate }}
|
||||||
</div>
|
</div>
|
||||||
<button mat-icon-button mat-dialog-close class="aca-edit-rule-dialog__header__close" tabindex="-1">
|
<button mat-icon-button mat-dialog-close class="aca-edit-rule-dialog__header__close" tabindex="-1"
|
||||||
|
[title]="'ACA_FOLDER_RULES.EDIT_RULE_DIALOG.CLOSE' | translate">
|
||||||
<mat-icon class="aca-edit-rule-dialog__header__icon">close</mat-icon>
|
<mat-icon class="aca-edit-rule-dialog__header__icon">close</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user