diff --git a/.changeset/selfish-ways-know.md b/.changeset/selfish-ways-know.md new file mode 100644 index 0000000000..436f077c19 --- /dev/null +++ b/.changeset/selfish-ways-know.md @@ -0,0 +1,5 @@ +--- +'@swisspost/design-system-components': patch +--- + +Fixed the `post-card-control` label read twice by screen readers. diff --git a/packages/components/src/components/post-card-control/post-card-control.tsx b/packages/components/src/components/post-card-control/post-card-control.tsx index 1f42eb8397..be79251ad9 100644 --- a/packages/components/src/components/post-card-control/post-card-control.tsx +++ b/packages/components/src/components/post-card-control/post-card-control.tsx @@ -379,7 +379,7 @@ export class PostCardControl { name={this.name} value={this.value} checked={this.checked} - aria-describedby={`${this.controlId}_label ${this.controlId}_content`} + aria-describedby={`${this.controlId}_content`} aria-disabled={this.disabled} aria-invalid={this.validity === 'false'} onClick={this.controlClickHandler}