Skip to content

Commit

Permalink
fix(chip): improve accessibility while loading
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinewahle authored and Kiarokh committed Sep 24, 2024
1 parent fe141d7 commit a49d6cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/chip/chip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ export class Chip implements ChipInterface {
class="chip"
role="button"
disabled={this.disabled || this.readonly}
aria-busy={this.loading ? 'true' : 'false'}
aria-live="polite"
onKeyDown={this.handleDeleteKeyDown}
>
{this.renderSpinner()}
Expand Down

0 comments on commit a49d6cb

Please sign in to comment.