Add Accessibility support
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
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.containchild 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
- 主要言語
- Swift
- スター
- 2.5k
- フォーク
- 84
- 平均マージ
- 2時間 8分
- マージ済み PR(30日)
- 62
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenSwiftUIProject/OpenSwiftUI のほかの issue
-
macOS button text differs from SwiftUI in interaction snapshots対応中かも @Kyle-Ye が今日担当しました。 オープンarea: rendering area: text impact: visual-diff platform: macOS type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
OpenSwiftUIProject/OpenSwiftUI#1140 ·
メンテナーはふだん 1 日以内に返信
-
Add Gauge supportオープンarea: rendering area: view type: feature
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
OpenSwiftUIProject/OpenSwiftUI#1022 ·
メンテナーはふだん 1 日以内に返信
-
area: animation area: rendering contrib: help wanted impact: visual-diff type: bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
OpenSwiftUIProject/OpenSwiftUI#984 ·
メンテナーはふだん 1 日以内に返信
-
Add List supportオープンarea: layout area: rendering area: view type: feature
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
OpenSwiftUIProject/OpenSwiftUI#919 ·
メンテナーはふだん 1 日以内に返信
-
area: layout area: rendering area: view type: feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
OpenSwiftUIProject/OpenSwiftUI#918 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
OpenSwiftUIProject/OpenSwiftUI の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
OneBusAway/onebusaway-ios#1518 ·
メンテナーはふだん 2 日以内に返信
-
area: agents
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
manaflow-ai/cmux#19972 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
VerificationCodeInputField: iPad Return key clears/hides OTP fields対応中かも @amansingh1207 が今日担当しました。 オープンneeds attention
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
firebase/FirebaseUI-iOS#1407 ·
メンテナーはふだん 5 日以内に返信
-
component: swift renderer P2 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
a2ui-project/a2ui#3146 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
521xueweihan/HelloGitHub#3940 ·