Native: map aria-description to accessibilityHint
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 69/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- javascript, react, react-native
- Domaine
- accessibility, mobile
Piste de recherche
Start by reading react-strict-dom's native prop handling and the mapping for aria-label to accessibilityLabel, then check the native prop allowlist. Add coverage for aria-description on an html.button and confirm it reaches React Native as accessibilityHint; done means the hint is preserved on native while the web behavior remains appropriate.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Describe the feature request
On native, there is no way to give an html.* element an accessibility hint (iOS accessibilityHint, read by VoiceOver after the element's name; Android TalkBack reads it too).
The web counterpart is aria-description (or aria-describedby). Today react-strict-dom 0.0.55's native prop handling keeps neither: aria-description is not mapped, and accessibilityHint passed directly is dropped by the native prop allowlist, so a component built on html.button cannot carry a hint.
Proposal: map aria-description (a string) to accessibilityHint on native, the way aria-label maps to accessibilityLabel.
Use case: a design system's Tooltip on touch devices. With no hover, the tooltip text is never drawn; the accessible equivalent is the trigger's hint. Without the mapping, each trigger has to swap its html.button host for a React Native Pressable just to set accessibilityHint, which loses react-strict-dom's styling and press handling on that host.
Version
react-strict-dom 0.0.55, React Native 0.81.5 (Expo SDK 54).
- Langage dominant
- JavaScript
- Étoiles
- 3.6k
- Forks
- 208
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun 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 react/react-strict-dom
-
Outline styles aren't parsed in React NativePeut-être pris @hoangvvo l’a pris il y a 153 jours. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
react/react-strict-dom#467 · 1 commentaire ·
-
Missing disabled propOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
react/react-strict-dom#465 · 2 commentaires ·
-
postcss plugin re-transforms every included file on each rebuild under Turbopack (minutes-long HMR in large projects)Peut-être pris @borisyankov l’a pris il y a 22 jours. Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
react/react-strict-dom#520 ·
-
css.defineVars() with kebab-case keys warns unrecognized custom property and fails to resolveOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 35/100
react/react-strict-dom#505 · 2 réactions ·
-
Button remains unclickable after disabled state changesPeut-être pris @MoOx l’a pris il y a 136 jours. Ouvertebug
Difficulté 3/5 1-2 jours Accessibilité débutants 62/100
react/react-strict-dom#491 · 4 commentaires ·
Toutes les issues de react/react-strict-dom
Issues similaires
-
good first issue
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
saayam-for-all/webapp#1919 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Uuriko/project-room#3728 ·
Les mainteneurs répondent en général sous 1 jour
-
docs(site): Mermaid edge-label contrast on Architecture and a table header on How it comparesOuvertedocumentation
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
devops-thiago/ThrillhouseBot#1132 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
andromarces/agent-loops#886 ·
Les mainteneurs répondent en général sous 1 jour
-
bug effort:low model:light plan planner:gpt-6-1-sol tests
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour