Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
feat(tree-table): Remove deprecated aria-label input attributes.
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Old attributes do not conform with accessibility standards.
  • Loading branch information
rowa-audil authored and ffriedl89 committed May 12, 2020
1 parent 1f9cdba commit 11d083d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions libs/barista-components/tree-table/src/tree-table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import { _DtTableBase } from '@dynatrace/barista-components/table';
class: 'dt-tree-table',
'[class.dt-table-interactive-rows]': 'interactiveRows',
role: 'treegrid',
'[attr.aria-label]': 'ariaLabel',
},
encapsulation: ViewEncapsulation.Emulated,
changeDetection: ChangeDetectionStrategy.OnPush,
Expand All @@ -49,12 +48,6 @@ import { _DtTableBase } from '@dynatrace/barista-components/table';
export class DtTreeTable<T> extends _DtTableBase<T> {
/** The tree control that handles expanding/collapsing or rows */
@Input() treeControl: DtTreeControl<T>;
/**
* The aria label for the tree-table
* @deprecated use the native aria-label for strings and if you need a binding use [attr.aria-label]
* @breaking-change to be removed in 6.0.0
*/
@Input('aria-label') ariaLabel: string;

constructor(
differs: IterableDiffers,
Expand Down

0 comments on commit 11d083d

Please sign in to comment.