mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACA-2789] - edit button a11y fixes (#5399)
* fix: remove title property from button * use tooltip instead of aria label * fix aria label Co-authored-by: Taylor Richards <taylor.richards@deque.com> Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
This commit is contained in:
co-authored by
Taylor Richards
Denys Vuika
parent
fc6a80c45a
commit
78c3db5db7
+1
-1
@@ -17,7 +17,7 @@
|
||||
mat-icon-button
|
||||
(click)="toggleEdit()"
|
||||
[attr.title]="'CORE.METADATA.ACTIONS.EDIT' | translate"
|
||||
[attr.aria-label]="'CORE.METADATA.ACTIONS.EDIT' | translate"
|
||||
[attr.aria-label]="'CORE.METADATA.ACCESSIBILITY.EDIT' | translate"
|
||||
data-automation-id="meta-data-card-toggle-edit">
|
||||
<mat-icon>mode_edit</mat-icon>
|
||||
</button>
|
||||
|
||||
@@ -201,6 +201,7 @@
|
||||
"TOGGLE": "Toggle value"
|
||||
},
|
||||
"ACCESSIBILITY": {
|
||||
"EDIT": "Edit button",
|
||||
"DATEPICKER": "Use the arrow keys to navigate between dates. Up and down move to the next or previous week but on the same day. Left and right move to the next or previous day. Press Enter or Return to select a date."
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user