Native: map aria-description to accessibilityHint
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 69/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, react, react-native
- Ambito
- accessibility, mobile
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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).
- Lingua principale
- JavaScript
- Stelle
- 3.6k
- Fork
- 208
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di react/react-strict-dom
-
Outline styles aren't parsed in React NativeForse già presa @hoangvvo l’ha presa 151 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
react/react-strict-dom#467 · 1 commento ·
-
Missing disabled propAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
react/react-strict-dom#465 · 2 commenti ·
-
postcss plugin re-transforms every included file on each rebuild under Turbopack (minutes-long HMR in large projects)Forse già presa @borisyankov l’ha presa 20 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
react/react-strict-dom#520 ·
-
css.defineVars() with kebab-case keys warns unrecognized custom property and fails to resolveApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
react/react-strict-dom#505 · 2 reazioni ·
-
Button remains unclickable after disabled state changesForse già presa @MoOx l’ha presa 134 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
react/react-strict-dom#491 · 4 commenti ·
Tutte le issue di react/react-strict-dom
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
jfromaniello/url-join#134 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
quarto-dev/quarto-cli#15042 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
extendr/extendr.github.io#134 ·