bug: aria-expanded is ignored when used in ion-item (TalkBack)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- angular, typescript
- Domaine
- accessibility, frontend
Piste de recherche
Commencez par les exemples reproduits de ion-item et div dans app.component.ts et app.component.html du projet StackBlitz lié. Exécutez la reproduction sur Android avec TalkBack activé et comparez la manière dont aria-expanded est exposé pour chaque élément. C’est terminé lorsque ion-item amène TalkBack à annoncer l’état développé ou réduit de manière cohérente avec l’exemple div.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
In our app we have some cases where we display some collapsible information without using ion-accordion, we implement the collapse/expand ourselves. The "expand" action is done clicking an ion-item, so we added aria-expanded to it. But Google Talkback is ignoring the aria-expanded attribute (I haven't tested it with VoiceOver yet).
The same implementation using a div works fine.
Expected Behavior
Talkback should be able to detect aria-expanded, so it should read "expanded" or "collapsed".
Steps to Reproduce
- Open this URL in an Android device (e.g. in Chrome): https://stackblitz.com/edit/prza28ny-qihwpnvt?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.component.html
- Open the "Preview" panel and wait for the project to run.
- Enable Talkback.
- Select the "Content title" below "Using ion-item". Talkback will only read "Content title", it doesn't read the aria-expanded.
- Now select the "Content title" below "Using div". Talkback will now read "Collapsed. Content title"
Code Reproduction URL
Ionic Info
Ionic:
Ionic CLI : 7.2.1
Ionic Framework : @ionic/angular 8.6.4
@angular-devkit/build-angular : 20.1.0
@angular-devkit/schematics : 19.2.15
@angular/cli : 20.1.0
@ionic/angular-toolkit : 12.2.0
Cordova:
Cordova CLI : 12.0.0 ([email protected])
Cordova Platforms : android 14.0.1, ios 7.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, (and 16 other plugins)
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
ios-sim : 8.0.2
NodeJS : v22.17.0
npm : 10.9.2
OS : macOS Unknown
Xcode : Xcode 16.2 Build version 16C5032a
Additional Information
No response
- Langage dominant
- TypeScript
- Étoiles
- 52.8k
- Forks
- 13.3k
- Merge moyen
- 3 j 1 h
- PR mergées (30 j)
- 86
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ionic-team/ionic-framework
-
bug: input-otp, backspace in an empty box only moves focus instead of clearing the previous boxPeut-être pris @sarankumar1325 l’a pris il y a 23 jours. Ouvertepackage: core type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 90/100
ionic-team/ionic-framework#31639 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug: vue swipe cancellation throws when the previous page is missingPeut-être pris @dandoingdev l’a pris il y a 46 jours. Ouvertepackage: vue type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
ionic-team/ionic-framework#31514 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug: ion-searchbar input is always labelled "search text"; aria-label on the host is not forwardedPeut-être pris @HappyKnuckles l’a pris il y a 41 jours. Ouvertea11y package: core type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
ionic-team/ionic-framework#31492 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug: IonTabs throws when a Fragment contains one IonRouterOutletPeut-être pris @Benziza l’a pris il y a 82 jours. Ouvertepackage: react type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
ionic-team/ionic-framework#31410 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
bug: angular swipe-back gesture crashes in StackController.startBackTransition when the stack is popped before the gesture is capturedPeut-être pris @officialasishkumar l’a pris il y a 9 jours. Ouvertepackage: angular type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
ionic-team/ionic-framework#31291 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de ionic-team/ionic-framework
Issues similaires
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
lingdojo/kana-dojo#34223 · 1 commentaire · 5 réactions ·
Les mainteneurs répondent en général sous 1 jour
-
bug status: needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
mastra-ai/mastra#30587 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
area:web p2 product:business triage:active type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
cuadrao-ai/argus#2228 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
embedpdf/embed-pdf-viewer#1098 ·
Les mainteneurs répondent en général sous 1 jour
-
.Needs Triage .Team/Metabot Priority:P3 Type:Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
metabase/metabase#87252 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour