VoiceOver/TalkBack items inside Carousel/Flatlist
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react-native, typescript
- 領域
- accessibility, mobile
調査の方向性
まず、issue の例を入口として、Carousel と FlatList について説明されている VoiceOver/TalkBack の挙動を再現します。関連する React Native のアクセシビリティ挙動を追跡し、インクリメント/デクリメントによるナビゲーションを維持しながら、フォーカスされた Carousel の項目がコンテンツをどのように公開すべきかを判断します。両プラットフォームで、フォーカスされた各項目をアクセシブルに読み上げ、ナビゲーションできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched the existing issues
Code of Conduct
- I agree to follow this project's Code of Conduct
Question
Hello, love your project! Although I can't find the way to VoiceOver items inside the Carousel. It captures the entire carousel and says that user has to swipe up or down to navigate through the carousel but in my opinion it would be nice to read the content of the focused item. Something like this:
import { Carousel } from '@react-native-ama/extras';
import { Text } from '@react-native-ama/react-native';
import { View } from 'react-native';
const Component = () => {
const data = [
{ header: 'Title 1', text: 'Text 1' },
{ header: 'Title 2', text: 'Text 2' },
{ header: 'Title 3', text: 'Text 3' },
];
const flatListRef = React.useRef<FlatList<(typeof data)[number]>>(null);
const renderItem: ListRenderItem<(typeof data)[number]> = ({ item }) => {
return (
<View>
<Text accessibilityRole="header">item.header<Text />
<Text accessibilityRole="summary">item.text<Text />
<View />
);
};
return (
<FlatList
ref={flatListRef}
data={data}
renderItem={renderItem}
accessible={true}
accessibilityLabel="Carousel"
accessibilityRole="adjustable"
accessibilityActions={[{ name: 'increment' }, { name: 'decrement' }]}
onAccessibilityAction={(event: AccessibilityActionEvent) => {
const value = event.nativeEvent.actionName === 'increment' ? 1 : -1;
const newIndex = carouselIndexForScreenReader.current + value;
carouselIndexForScreenReader.current = clamp(newIndex, 0, data.length - 1);
flatListRef.current?.scrollToIndex({
index: carouselIndexForScreenReader.current,
});
}}
/>
);
};
- 主要言語
- TypeScript
- スター
- 295
- フォーク
- 22
- 平均マージ
- 20分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FormidableLabs/react-native-ama のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
FormidableLabs/react-native-ama#322 · リアクション 3 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
FormidableLabs/react-native-ama#319 · コメント 4 件 · リアクション 1 件 ·
-
Upgrade linting and add ts:check to automation再び着手できるかも @JDMathew が 701 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
FormidableLabs/react-native-ama#277 · 担当者 1 名 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
-
Add useCarousel and Carousel to extra package再び着手できるかも @JDMathew が 747 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
FormidableLabs/react-native-ama#258 · 担当者 1 名 ·
FormidableLabs/react-native-ama の issue をすべて見る
似ている issue
-
bot:ai-assisted status:untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
midnightntwrk/midnight-js#1424 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mksglu/context-mode#1268 ·
メンテナーはふだん 5 日以内に返信
-
Edit:オープンcheck:failed streams:edit
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
iptv-org/iptv#54352 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Table] reserveSelectedRowOnPaginate=false 时表头全选包含其他页数据対応中かも @dvd233 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Tencent/tdesign-react#4416 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area:widget bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
interledger/publisher-tools#894 ·
メンテナーはふだん 1 日以内に返信