Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 8149807

Browse files
committed
fix(component-nav): remove aria-label that duplicates messages
- aria-expanded already covers whether the section can be toggled or not - the button's text content already covers the accessible name Relates to #671.
1 parent 291a460 commit 8149807

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/app/pages/component-sidenav/component-nav.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<div *ngFor="let category of docItems.getCategories((params | async)?.section); let last = last;">
44
<button cdkAccordionItem #panel="cdkAccordionItem" (click)="panel.toggle()" expanded="true"
55
class="docs-nav-content-btn"
6-
[attr.aria-label]="category.name + ', section toggle'"
76
[attr.aria-controls]="'panel-' + category.id"
87
[attr.aria-expanded]="panel.expanded">
98
{{category.name}}

0 commit comments

Comments
 (0)