Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add Accessibility support

Offen
#1,112 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@Kyle-Ye arbeitet bereits daran.

Seit 27.9.2026.

  • #1114 von @Kyle-Ye — gemerged

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

area: accessibility area: hosting-bridge type: feature

Summary

Add baseline accessibility support so views expose meaningful labels, values, traits, and actions to assistive technologies on supported hosts.

Scope

  • Complete public view modifiers for accessibility labels, values, hints, identifiers, hidden state, and traits.
  • Support .accessibilityElement(children:) with .ignore, .combine, and .contain child behavior.
  • Derive default accessibility information from Text, Image, Label, and controls, including control roles and enabled state.
  • Expose accessibility elements and their geometry through supported host accessibility systems, and update them when view content, layout, or state changes.
  • Connect default, named, and adjustable accessibility actions to their handlers, including disabled-state handling for controls.
  • Add examples and focused coverage for semantics, grouping, hidden content, state updates, and accessibility activation.

Acceptance criteria

  • Text and labeled controls expose the expected labels, values, and traits without explicit accessibility modifiers.
  • Explicit accessibility modifiers update the exposed properties, and hidden content is excluded from accessibility navigation.
  • Element grouping ignores, combines, or contains child elements as requested.
  • Assistive technologies can navigate rendered elements and invoke their supported default, named, and adjustable actions.
  • Accessibility activation invokes an enabled button's action once; a disabled button does not invoke its action.
  • Changes to labels, values, enabled state, and layout are reflected in the host accessibility tree.

API reference

PRs

  • AccessibilityCore: #1114
  • Accessibility & AccessibilityModifier: #1117
  • Hosting accessibility support
Vorherrschende Sprache
Swift
Sterne
2.5k
Forks
84
Ø Merge
3 Std. 14 Min.
Gemergte PRs (30 T.)
84

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus OpenSwiftUIProject/OpenSwiftUI

Alle Issues in OpenSwiftUIProject/OpenSwiftUI

Ähnliche Issues

Weitere Issues zu Swift

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.