Native: map aria-description to accessibilityHint
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 69/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- javascript, react, react-native
- Bereich
- accessibility, mobile
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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).
- Vorherrschende Sprache
- JavaScript
- Sterne
- 3.6k
- Forks
- 208
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus react/react-strict-dom
-
Outline styles aren't parsed in React NativeEvtl. vergeben @hoangvvo hat das vor 152 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
react/react-strict-dom#467 · 1 Kommentar ·
-
Missing disabled propOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
react/react-strict-dom#465 · 2 Kommentare ·
-
postcss plugin re-transforms every included file on each rebuild under Turbopack (minutes-long HMR in large projects)Evtl. vergeben @borisyankov hat das vor 21 Tagen übernommen. Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
react/react-strict-dom#520 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
react/react-strict-dom#505 · 2 Reaktionen ·
-
Button remains unclickable after disabled state changesEvtl. vergeben @MoOx hat das vor 135 Tagen übernommen. Offenbug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 62/100
react/react-strict-dom#491 · 4 Kommentare ·
Alle Issues in react/react-strict-dom
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 8 Tagen
-
docs(stream-protocol): document messageMetatadata on start/finish and the message-metadata chunkEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenfactory-active task-identify-harness-labels-done task-identify-issue-type-done
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
vercel/ai#23375 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
feature request
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
docs hacktoberfest help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
pacocartones/free-llm-api-hub#347 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
wpilibsuite/wpilib-docs#3378 ·
Maintainer antworten meist innerhalb von 1 Tag