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

Commit

Permalink
feat(secondary-nav): 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 2bc59e5 commit 550fdcd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions libs/barista-components/secondary-nav/src/secondary-nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export class DtSecondaryNavTitle {}
styleUrls: ['secondary-nav.scss'],
host: {
class: 'dt-secondary-nav',
'[attr.aria-label]': 'ariaLabel',
},
preserveWhitespaces: false,
changeDetection: ChangeDetectionStrategy.OnPush,
Expand All @@ -65,13 +64,6 @@ export class DtSecondaryNavTitle {}
encapsulation: ViewEncapsulation.None,
})
export class DtSecondaryNav implements AfterViewInit, OnDestroy {
/**
* Accessibility label describing the nav.
* @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;

/** Whether the nav has multi section support. */
@Input()
get multi(): boolean {
Expand Down

0 comments on commit 550fdcd

Please sign in to comment.