Skip to content

Commit

Permalink
fix(accordion): update a11y tree to not double label
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook committed Mar 29, 2021
1 parent 92cc495 commit cc91a6b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/accordion/src/AccordionItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
TemplateResult,
property,
PropertyValues,
ifDefined,
} from '@spectrum-web-components/base';
import { Focusable } from '@spectrum-web-components/shared/src/focusable.js';
import '@spectrum-web-components/icons-ui/icons/sp-icon-chevron100.js';
Expand Down Expand Up @@ -90,7 +89,6 @@ export class AccordionItem extends Focusable {
<button
id="header"
@click=${this.onClick}
aria-label=${ifDefined(this.label || undefined)}
aria-expanded=${this.open}
aria-controls="content"
>
Expand Down

0 comments on commit cc91a6b

Please sign in to comment.