iOS: Responding to Actions via UIAccessibilityAction
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Description
There are actions that a VoiceOver user may invoke while using an application. React Native should be able to respond to these actions. One example that is currently missing from React Native's support is accessibilityScroll, which typically is listened to in order to perform a scroll action on a list of some kind.
React Native version:
v0.63
Expected Behavior
There is already precedent in React Native for actions, so in theory all the "actions" available for iOS would have associated functions. For scrolling, something like "onAccessibilityScroll(direction:)" would be called when the gesture is detected by the system.
iOS Details
UIAccessibilityAction is an informal protocol which contains instance methods to override. Ideally, all of the supported actions would be bridged.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、React Native に既存のアクセシビリティアクション処理と、issue にリンクされている UIAccessibilityAction のドキュメントを確認し、具体例として accessibilityScroll を使用します。ネイティブから JavaScript へのエントリーポイントと、既存のアクションの前例を特定し、次に、サポートされている iOS アクションを VoiceOver から呼び出せること、およびアプリケーションに公開できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, objective-c, react-native
- 領域
- accessibility, mobile
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100