mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-4839] Document List - column name link accessibility (#5011)
* accessibility * rename translation key * translation key name * link name component accessibility * generic translation
This commit is contained in:
committed by
Eugenio Romano
parent
e5f7d2f304
commit
f35f0466e6
@@ -33,7 +33,15 @@ import { takeUntil } from 'rxjs/operators';
|
||||
@Component({
|
||||
selector: 'adf-name-column',
|
||||
template: `
|
||||
<span class="adf-datatable-cell-value" title="{{ node | adfNodeNameTooltip }}" (click)="onClick()">
|
||||
<span
|
||||
role="link"
|
||||
[attr.aria-label]="'NAME_COLUMN_LINK.ACCESSIBILITY.ARIA_LABEL' | translate:{
|
||||
name: displayText$ | async
|
||||
}"
|
||||
class="adf-datatable-cell-value"
|
||||
title="{{ node | adfNodeNameTooltip }}"
|
||||
(click)="onClick()">
|
||||
|
||||
{{ displayText$ | async }}
|
||||
</span>
|
||||
`,
|
||||
|
Reference in New Issue
Block a user