Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ちゃんとアクセシビリティ対応してみた
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tepi
October 22, 2024
Programming
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ちゃんとアクセシビリティ対応してみた
potatotips #89でLTとして発表した内容です
tepi
October 22, 2024
Other Decks in Programming
See All in Programming
Loosening the Reins: Go Generics Get More Flexible
kuro_kurorrr
0
250
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
170
Cloudflare is Agents
chimame
0
180
AI Readyの正体はデータマネジメントだ メダリオン2.0の最前線
freee
PRO
0
360
VibeCodingからAgenticWorkflowへ
starfish719
0
760
今さら聞けない .NET CLI
htkym
0
210
MySQLとPostgreSQLって何が違うの?
akagami
0
130
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
240
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
190
バグを直したら useEffect が消えた
colorful12
3
690
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
120
Webエンジニアなのにブラウザの仕組みがわからないので、Pythonで自作してみた
tatsuki12
4
980
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
480
Test your architecture with Archunit
thirion
2
2.4k
Statistics for Hackers
jakevdp
799
230k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
420
How to make the Groovebox
asonas
2
2.3k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
970
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Design in an AI World
tapps
1
290
Transcript
1 “ちゃんと”アクセシビリティ対応 やってみた tepi minne事業部 プロダクト開発チーム 2024.10.23
2 ⾃⼰紹介 minne事業部 プロダクト開発チーム 2023年 中途⼊社 柘植 哲平 Teppei Tsuge (tepi)
minneのAndroid版開発担当です。昨年数年ぶりに Android開発に戻り、ガシガシ頑張っています💪 • 1児の⽗ • ゲーム好き、フットサルをたまに
3 • TalkBack(iOSで⾔うところのVoiceOver)でいい感じに 読み上げさせたい • contentDescription以外の対応 ※本セッションではJetpack Composeの話のみ “ちゃんと”とは?
minneの作品詳細画⾯のアクセシビリティ対応 4 • Jetpack Composeでは contentDescriptionがテキストや画像の必 須パラメーターとなっている • 確かに読み上げてくれるが読み上げてくれ るだけ
◦ 読み上げられている内容が何を指している かわかりづらい • 画像(特にレビューの星)は読み上げるだけ では良くわからない ◦ 単⼀画像として読み上げるので、関連性が 分かりづらい contentDescriptionのみ対応の場合
とりあえずこれだけ覚えれば良い • semantics ◦ mergeDecendants = true で、下位のコ ンポーネントのTalkBackの内容を無効化 •
customActions ◦ semantics内で指定でき、TalkBackで実 ⾏できるオプションを指定する • clearAndSetSemantics ◦ 読み上げる内容を上書きできる 参考:公式ドキュメント 5 Modifierから利⽤するTalkBackのための三種の神器
6 • 使い勝⼿が開発前と後で⼤幅に向上した • それなりに⼤変 (今回は調べるところも含めて1⽇かかった) • TalkBackがタイミング気にせずしゃべる • あまり利⽤される⽅の気持ちがわかっているとは⾔い難い
所管
アプリについて 7
8 ご清聴ありがとうございました