Skip to content

bug: ion-button aria-description does not reactively change #30626

Closed

Description

@anilanar

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

With React, if we have a dynamic aria-description such as <IonButton aria-description={count} />, the button inside the shadow dom gets stuck with the initial count.

Expected Behavior

aria-description and pretty much all attributes that are "copied" from the host to the native button inside the shadow DOM should be reactive.

Steps to Reproduce

  1. Go to https://stackblitz.com/edit/dx7kxrku?file=src%2Fmain.tsx
  2. Open Devtools
  3. Observe that the native button inside ion-button has aria-description="0" even though the component increments it every second

Code Reproduction URL

https://stackblitz.com/edit/dx7kxrku?file=src%2Fmain.tsx

Ionic Info

I don't know what ionic info is. I don't have such a command available anywhere, neither in our project nor on Stackblitz.

Additional Information

No response

Activity

  1. ReneZeidler commented on Aug 20, 2025

    @ReneZeidler

    This also applies to other elements which can act as buttons, like <ion-item>, <ion-card>, etc.

  2. added
    type: buga confirmed bug report
    a11yAccessibility related issues
    and removed on Oct 3, 2025
  3. moved this from In progress to Ionic Review in Summer Internship - Madison College - 2026on Jul 13, 2026
  4. moved this from Ionic Review to In progress in Summer Internship - Madison College - 2026on Jul 13, 2026
  5. added a commit that references this issue on Jul 25, 2026
    35a82d7
  6. moved this from In progress to Ionic Review in Summer Internship - Madison College - 2026on Aug 7, 2026
  7. added a commit that references this issue on Aug 27, 2026
    1d0e016
  8. added a commit that references this issue on Sep 17, 2026
    e771519
  9. ionitron-bot commented on Oct 17, 2026

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  10. locked and limited conversation to collaborators on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11yAccessibility related issuestype: buga confirmed bug report

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions