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
すべての人のためのアクセシビリティ対応 #iosdc
Search
akatsuki174
September 07, 2019
Technology
4
1.7k
すべての人のためのアクセシビリティ対応 #iosdc
iOSDC Japan 2019 すべての人のためのアクセシビリティ対応【完全版】
akatsuki174
September 07, 2019
Tweet
Share
More Decks by akatsuki174
See All by akatsuki174
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
34
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
5.4k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
390
オフライン勉強会ぼっち対策
akatsuki174
1
570
Xcode 15の新機能
akatsuki174
0
2.5k
AndroidにもSelect Photosがやってきた
akatsuki174
0
1.2k
Famm Android改善記
akatsuki174
0
340
Flutterアプリ開発にネイティブコードはどこまで求められるのか
akatsuki174
2
4.4k
UIKitのアップデート #WWDC22
akatsuki174
4
1.2k
Other Decks in Technology
See All in Technology
DynamoDB でスロットリングが発生したとき_大盛りver/when_throttling_occurs_in_dynamodb_long
emiki
1
430
TypeScript、上達の瞬間
sadnessojisan
46
13k
第1回 国土交通省 データコンペ参加者向け勉強会③- Snowflake x estie編 -
estie
0
130
いざ、BSC討伐の旅
nikinusu
2
780
心が動くエンジニアリング ── 私が夢中になる理由
16bitidol
0
100
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
880
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
13k
Shopifyアプリ開発における Shopifyの機能活用
sonatard
4
250
AGIについてChatGPTに聞いてみた
blueb
0
130
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
強いチームと開発生産性
onk
PRO
35
11k
OTelCol_TailSampling_and_SpanMetrics
gumamon
1
190
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
What's new in Ruby 2.0
geeforr
343
31k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
It's Worth the Effort
3n
183
27k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
420
Embracing the Ebb and Flow
colly
84
4.5k
Statistics for Hackers
jakevdp
796
220k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
130
A designer walks into a library…
pauljervisheath
204
24k
Transcript
ͯ͢ͷਓͷͨΊͷ ΞΫηγϏϦςΟରԠ iOSDC Japan 2019 day2 @akatsuki174
ࣗݾհ
• ਢ౻ຘʢ@akatsuki174ʣ • iOSΤϯδχΞ • iOSDC Japan 2019 ίΞελοϑ ࢹೝੑΞοϓ
ʙ2019/08/14 2019/08/14ʙ
ΞδΣϯμ
None
• ΞΫηγϏϦςΟͱ • ΞΫηγϏϦςΟʹྀͨ͠σβΠϯ • iOS ʹ͓͚ΔΞΫηγϏϦςΟ • Siri γϣʔτΧοτ
• VoiceOver͋ • Voice Control͋ • ΞΫηγϏϦςΟରԠΛਐΊΔʹ
͜ͷτʔΫʹ͍ͭͯ
త • ΞΫηγϏϦςΟରԠΞϓϦΛ૿͢ • AppleͷΞΫηγϏϦςΟରԠͷ͢͝͞Λ ͬͯΒ͏ • ΞΫηγϏϦςΟରԠίϫ͘ͳ͍ͱ ࢥͬͯΒ͏
ରऀ • Δҙຯ͕ͲΕ͚ͩ͋ΔͷʁͱࢥͬͯΔਓ • Ͳ͏ͬͯखΛ͚͍͍͔ͯΘ͔Βͳ͍ਓ • iOS ʹ͓͚ΔΞΫηγϏϦςΟͬͯ ͲΜͳͷ͔Γ͍ͨਓ
εϥΠυࢿྉ • ༧πΠʔτͰ #iosdc #d Λ͚ͯ͏ ྲྀ͍ͯ͠Δͣ • ݟʹ͔ͬͨ͘ΒखݩͰͪ͜ΒͷࢿྉΛ •
ͨͿΜૣޱͳͷͰ෮श༻ʹ
ΞΫηγϏϦςΟͱ
ΞΫηγϏϦςΟͷఆٛ ಛʹ Web αΠτ্ʹ͓͚ΔɺใαʔϏε ͷΞΫηεͷ͢͠͞ͷ͜ͱͰ͋Δɻ ߴྸऀোऀͳͲؚΊͨ͋ΒΏΔਓ͕ɺɹ ͲͷΑ͏ͳڥʢ͏Δ͍͞ॴɺ҉͍ॴɺ ٯʹ໌Δ͍ॴͳͲʣʹ͓͍ͯॊೈʹɹɹ WebαΠτΛར༻Ͱ͖ΔΑ͏ʹߏங͢Δ͜ͱΛ ߟྀ͢Δ߹ʹΘΕΔɻʢby
weblioʣ IUUQTXXXXFCMJPKQDPOUFOUΞΫηγϏϦςΟ
ΞΫηγϏϦςΟ୭ͷͨΊʁ • ɿোΛ࣋ͭਓ͚ͩͷͨΊ • ɿͯ͢ͷਓͷͨΊ
ࣦ໌ ऑࢹ ࢹྗ ৭֮ҟৗ ௌ֮ো ࢹ֮ো ԻΛग़ͤͳ͍ ࡉ͔͍ૢ࡞͕Ͱ͖ͳ͍ ྉཧத ޫͷԼ
ωοτϫʔΫ͕͍ Ի͕ฉ͑͜ʹ͍͘ ؟ ࣗด ը໘ׂ͕ΕͯΔ ࢦΛոզͨ͠ ӡసத
ϢʔβϏϦςΟͱͷҧ͍ • ΞΫηγϏϦςΟ • ೳྗڥʹࠨӈ͞ΕͣɺશϢʔβ͕͘͠ ใΛಘΒΕΔ͔ • ϢʔβϏϦςΟ • ΞΫηεͰ͖ͨϢʔβʹର͢Δ͍͢͞
ΞΫηγϏϦςΟରԠ ͷޡղ
ରऀͦΜͳ͍ͳ͍ͷͰʁ
ͦΜͳ͜ͱͳ͍ͧ • োΛ࣋ͨͳ͍ਓରऀ • ͦͦোΛ࣋ͭਓ͕ͲΕ͚͍ͩΔ͔ Ѳͯ͠·͔͢ʁ
Q. ࢹ֮োɺ৭֮ҟৗͷਓޱ 1. 100ສਓ 2. 850ສਓ 3. 1,250ສਓ
Q. ࢹ֮োɺ৭֮ҟৗͷਓޱ 1. 100ສਓ 2. 850ສਓ 3. 1,250ສਓ
ࢹ֮োʢຊ/2009ࠒʣ • 164ສਓʢ18.8 ສਓ͕ࣦ໌ɺΓ͕ϩʔϏδϣϯʣ • োखாަऀ31ສਓ • 70ࡀҎ্ 2009 ຊ؟Պҩձʢhttps://www.gankaikai.or.jp/press/20091115_socialcost.pdfʣ
৭֮ҟৗʢຊ/2019ࠒʣ • உੑ5%ɺঁੑ0.2% • ͘Β͍͕֮ࣗঢ়ͳ͠ 2019ਆಸݝҩࢣձ http://www.kanagawa.med.or.jp/ibukai/gakkoui/shikikakuijounitsuite201901.pdf
ௌ֮োऀʢຊ/2011ࠒʣ • ਪఆ1,000ສਓҎ্ • োखாަऀ24ສਓ 2018จ෦Պֶল http://www.mext.go.jp/b_menu/shingi/chousa/shougai/041/shiryo/ __icsFiles/afieldfile/2018/06/21/1406219_2.pdf
ͭ·Γ • ʢεϚϗΘͳ͍ਓ͕͍Δͱݴ͑Ͳʣ ͔ͳΓଟ͘ͷਓ͕ରऀʹͳΔͣ
ΊΜͲͦ͘͞͏ / େมͦ͏
ͦΜͳ͜ͱͳ͍ͧ • ͦͦᘳʹΖ͏ͱྗ·ͳ͍͍ͯ͘ • σϑΥϧτͰ͋ΔఔࣗಈରԠ͞Ε͍ͯΔ • Swift UI ͷొʹΑͬͯରԠָ͕ʹͳΔ
ΈΜͳͬͯ͘Εͳͦ͞͏
ͨͩͷໝ͔ʁ • ࣮Λ͢Δ͕ࣗࣗΞΫηγϏϦςΟͷ ԸܙΛཧղ͍ͯ͠Δʁ • ཧղͯ͠ݴ༿ʹ͢Εɺͦͷ͕Ϣʔβʹ ಧ͍ͯͬͯΒ͑ΔͷͰʁ
ଟݴޠରԠ͢Δͷʹ ΞΫηγϏϦςΟରԠ ͠ͳ͍ΜͰ͔͢ʁ
iOSͷ ΞΫηγϏϦςΟػೳ
ζʔϜػೳ
ζʔϜػೳ • ը໘ͷҰ෦Λ֦େͰ͖Δ • 3ຊࢦͰૢ࡞͢Δ
None
จࣈΛଠ͘͢Δ
จࣈΛଠ͘͢Δ
AssistiveTouch
AssistiveTouch • ը໘ϩοΫ / Իྔ૿ݮ / εΫγϣ / ը໘ϩοΫ ͳͲΛγϣʔτΧοτԽͰ͖Δ
• ʹΑͬͯબࢶ͕มΘΔ • 3D Touchͷ༗ແ ͳͲ
None
LEDϑϥογϡ
LEDϑϥογϡ • ిண৴ͦͷଞ௨͕͋ͬͨ࣌ʹ ຊମഎ໘ͷϑϥογϡΛ໓͓ͤͯ͞Βͤ
৭Λస
৭Λస • എܠΛ҉ͨ͘͠ํ͕ݟ͍͢߹ʹઃఆ͢Δ ͱྑ͍ • εϚʔτɺΫϥγοΫͷ2छྨ͕͋Δ
৭Λస
εϚʔτ
ΫϥγοΫ
ಁ໌ΛԼ͛Δ
ಁ໌ΛԼ͛Δ • จࣈ͕ಡΈ͍͢Α͏ʹɺಁա΅͔͠ͷ ߹͍Λܰݮͯ͠ίϯτϥετΛௐ
None
None
͜ͷޙৄ͘͠
͜ͷ͋ͱৄ͘͠ • Dynamic Type / Large Text • VoiceOver •
Voice Control
ΞΫηγϏϦςΟʹ ྀͨ͠σβΠϯ
λοϓྖҬͷௐ • 44 x 44 pt Ҏ্ͷλοϓྖҬΛ֬อ͢Δ • ཁૉΛີूͤ͞ͳ͍ •
ϢʔβϏϦςΟ؍ͱͯ͠ॏཁ
ίΞػೳΛ؆୯ͳಈ࡞Ͱ • 3D Touch ͳͲΛΘͳͯ͘ίΞػೳΛ ͑ΔΑ͏ʹ • มʹδΣενϟʔΛΦʔόʔϥΠυ͠ͳ͍
ݟͨʹཔΓ͗͢ͳ͍ • ৭ʴԼઢͰϦϯΫͰ͋Δ͜ͱΛද͢ • ৭ʴܗͰ৭ͷ۠ผ͕͔ͳͯ͘ྑ͍ঢ়ଶʹ • • ΦϯϥΠϯ / ▪
ΦϑϥΠϯ • ࢹ֮දݱʴԻͰॲཧͷྃΛද͢
ίϯτϥετΛ͖ͬΓͤ͞Δ • ਪ7ɿ1Ҏ্ Color and Contrast - Accessibility - Human
Interface Guidelines ʢhttps://developer.apple.com/design/human-interface-guidelines/accessibility/overview/ color-and-contrast/ʣ
ۃྗจࣈΛը૾ʹ͠ͳ͍ • ը૾ͩͱઃఆΞϓϦͰจࣈαΠζΛ มߋ֦ͯ͠େ͞Εͳ͍ • ը૾͕ಡΈࠐΊͳ͔ͬͨ࣌ʹಡΊͳ͍
ελΠϧʹҰ؏ੑΛ࣋ͨͤΔ • Ξϥʔτͷߠఆ/൱ఆϘλϯͷҐஔ ΞϓϦͰҰ؏͍ͯ͠Δঢ়ଶʹ
રޫΛ͏දݱΛආ͚Δ • ڧ͍ޫ͕໓͢ΔදݱΊΔ • ಠࣗίϯςϯπͰྀͯͯ͠ɺ ࠂ͕໓දݱΛ͍ͬͯΔՄೳੑ…ʁ
ΞΫηγϒϧͳσβΠϯ࡞Γ Λॿ͚ΔϞϊ
Accessibility Inspector
Accessibility Inspector • Xcode͔Βݺͼग़ͤΔπʔϧ • ΞΫηγϏϦςΟ্ͷΛҰཡͰ ग़ͯ͘͠ΕΔ • ϦΞϧλΠϜͰ֬ೝͰ͖Δ
Accessibility Inspector Accessibility Inspector ʢhttps://developer.apple.com/videos/play/wwdc2019/257/ʣ
Accessibility Inspector Accessibility Inspector ʢhttps://developer.apple.com/videos/play/wwdc2019/257/ʣ
Accessibility Inspector Accessibility Inspector ʢhttps://developer.apple.com/videos/play/wwdc2019/257/ʣ
Accessibility Inspector Accessibility Inspector ʢhttps://developer.apple.com/videos/play/wwdc2019/257/ʣ
Accessibility Inspector Accessibility Inspector ʢhttps://developer.apple.com/videos/play/wwdc2019/257/ʣ
Accessibility Inspector Accessibility Inspector ʢhttps://developer.apple.com/videos/play/wwdc2019/257/ʣ
Accessibility Inspector Accessibility Inspector ʢhttps://developer.apple.com/videos/play/wwdc2019/257/ʣ
Accessibility Inspector ϝχϡʔόʔ 8JOEPX 4IPX$PMPS $POUSBTU$BMDVMBUPS Accessibility Inspector https://developer.apple.com/ videos/play/wwdc2019/257/
Dynamic Type
Dynamic Typeͱ • iOS 7 ͔Β༻Մೳ • ઃఆΞϓϦͰจࣈͷେ͖͞Λઃఆ͢Δͱ ࣗಈͰจࣈͷେ͖͞ɺߦؒΛௐͯ͘͠ΕΔ
Dynamic Type ઃఆํ๏
Large Textઃఆํ๏
Δ͖͜ͱ • Text Style Λઃఆ͢Δ • adjustsFontForContentSizeCategory ʢiOS 10 Ҏ্ʣΛtrueʹ͢Δ
• ઃఆΞϓϦͰมߋͨ࣌͠ʹࣗಈͰαΠζ มߋ͕ߦΘΕΔ
Storyboardͷ߹
Storyboardͷ߹
ίʔυͷ߹
ϦΞϧλΠϜ֬ೝ Visual Design and Accessibility ʢhttps://developer.apple.com/videos/ play/wwdc2019/244/ʣ
จࣈͰ͖͚ͨͲը૾… Կ͠ͳ͍ͱจࣈ͚ͩେ͖͘ͳͬͯ͠·͏
ը૾େ͖͘͢Δʹ • adjustsImageSizeForAccessibilityContentSize CategoryʢiOS 11Ҏ্ʣΛ true ʹ͢Δ • ը૾αΠζେ͖͘Ͱ͖Δ
ը૾େ͖͘͢Δʹ
ը૾େ͖͘͢Δʹ
ը૾େ͖͘ͳͬͨ
※Dynamic Typeͱ ϨΠΞτ
ҙࣝ͢Δ͜ͱ • ϑΥϯταΠζΛ֦େ͍ͨͤ͠ͰςΩετ͕ ΓࣺͯΒΕͳ͍Α͏ʹ͢Δ • ϑΥϯταΠζͷ֦େͱͱʹɺ άϦϑαΠζ্͛Δ
࠷େϑΥϯταΠζͷࢦఆ • UI ͕େ่͖͘ΕΔͷΛ͙ͨΊʹ UIFontMetrics Λͬͯ࠷େϑΥϯταΠζΛ ࢦఆ͢Δ͜ͱ͕Ͱ͖Δ
࠷େϑΥϯταΠζͷࢦఆ
UITableViewCellͷߴ͞ • ߴ͕͞ݻఆͩͱจࣈྔ͕গͳ͘ͳͬͨΓɺ UI่Ε͕ൃੜͨ͠Γ͢Δ • Ͱ͖Δ͚ͩγεςϜͷࣗಈܭࢉʹͤΔ • tableView.estimatedRowHeight • UITableView.automaticDimension
ʮݟ͑ํʯͷνΣοΫπʔϧ
ColorTester https://alfasado.net/apps/colortester-ja.html
Chromatic Vision Simulator https://apps.apple.com/jp/app/chromatic-vision-simulator/id389310222?l=ja
ΞΫηγϏϦςΟɾΧϥʔɾϗΠʔϧ https://gmazzocato.altervista.org/ja/colorwheel/wheel.php
Siri ͷݱঢ়
Siri ͷྺ࢙ • 2011ʢiPhone 4SʣɿSiri ొ • 2012ɿຊޠʹରԠ • 2016ʢiOS
10ʣɿSiriKit ొ • 2018ʢiOS 12ʣɿSiri γϣʔτΧοτొ
Ξϯέʔτ • Siri Λͬͨ͜ͱ͕͋Δਓ • Siri Λৗతʹ͍ͬͯΔਓ • εϚʔτεϐʔΧʔΛৗతʹ͍ͬͯΔਓ
Իೝࣝػೳར༻͞ΕͯΔʁ ҙ֎ͳศརϫβʂ SiriϢʔβʔ1,000ਓʹฉ͍ͨར༻γʔϯͱ͍ํ ʢhttps://time-space.kddi.com/mobile/20180830/2420ʣ
Իೝࣝػೳར༻͞ΕͯΔʁ ҙ֎ͳศརϫβʂ SiriϢʔβʔ1,000ਓʹฉ͍ͨར༻γʔϯͱ͍ํ ʢhttps://time-space.kddi.com/mobile/20180830/2420ʣ
εϚʔτεϐʔΧʔʁ ΞϝϦΧͰਓͷ1/4Ҏ্͕εϚʔτεϐʔΧʔΛॴ༗ɺຊͰʁ https://jp.techcrunch.com/2019/03/11/over-a-quarter-of-u-s-adults-now-own-a-smart-speaker/
Siri γϣʔτΧοτ
Ξϯέʔτ • Siri γϣʔτΧοτΛͬͨ͜ͱ͕͋Δਓ • Siri γϣʔτΧοτΛৗతʹ͍ͬͯΔਓ • Siri γϣʔτΧοτͷίʔυΛݟͨ/ॻ͍ͨਓ
Siri γϣʔτΧοτͱ • Siri ʹ͔͚࣮ͯ͠ߦ͢ΔϚΫϩͷΑ͏ͳͷ • ෳΞϓϦʹ·͕ͨͬͨૢ࡞Մೳ • γϣʔτΧοτΞϓϦͰՃɺฤू͕Մೳ •
iOS 12 Ҏ߱Ͱ༻Մೳ
γϣʔτΧοτΞϓϦ
SiriγϣʔτΧοτͷྫ
None
None
None
None
None
ଞͷγϣʔτΧοτྫ • ը໘ͷ໌Δܰ͞ݮɺফԻͳͲͷઃఆΛҰؾʹ ࣮ߦ • ಛఆϓϨΠϦετΛϫϯλοϓͰ࠶ੜ • ࠷৽ͷࣸਅΛఴͯ͠πΠʔτ४උ
SiriγϣʔτΧοτͷ ࡞Γํ
Δ͜ͱ • γϣʔτΧοτΛఆٛ • Կ͔Λ͢ΔͨͼʹγεςϜʹใࠂ • SiriͷαδΣετ࠷దԽͷͨΊ • ࣮ࡍͷॲཧΛΒͤΔ
ྑ͍γϣʔτΧοτͱ • ΞϓϦͷओཁػೳʹૉૣ͘ΞΫηεͰ͖Δ • Ϣʔβ͕Կ͏Α͏ͳॲཧ • ݅ʹΑΒ͍ͣͭͰ࣮ߦͰ͖Δ
γϣʔτΧοτ API • NSUserActivity • Կ͔Λ։͘ͳͲɺ୯७ͳγϣʔτΧοτΛ αΫοͱ࡞ΕΔ • Intents •
ΞϓϦΛىಈͤͣʹ͑Δ • ΧελϜͷԻUIΛೖΕΒΕΔ
NSUserActivityͷ߹
NSUserActivityͷ߹
NSUserActivityͷ߹
Intentsͷ߹
Intentsͷ߹
Intentsͷ߹
Intentsͷ߹
Intentsͷ߹
ྑ͍SiriγϣʔτΧοτΛ ࡞Δʹ
αϚϦΛ͢Δ • ಈࢺͰ࢝·Δจষʹ • Ͱ͖Δ͚ͩ͘ɺඞཁ࠷ݶͷύϥϝʔλʹ
γϣʔτΧοτΛ ݟ͚ͭͯΒ͏ʹ
γϣʔτΧοτΛݟ͚ͭͯΒ͏ • ΞϓϦͰҰఆͷ ૢ࡞Λͨ࣌͠ʹ γϣʔτΧοτͷ ՃΛଅ͢
ʮ͓͢͢ΊʯʹࡌΔΑ͏ʹ͢Δ
ʮ͓͢͢ΊʯʹࡌΔΑ͏ʹ͢Δ • iOS 13 ͰΑ͘͏ΞϓϦͷγϣʔτΧοτ ͕ఏҊ͞ΕΔ • ఏҊ͞ΕΔΑ͏ʹ͢ΔʹҎԼͷ࣮Λ͢Δ
VoiceOverରԠ
VoiceOverͱ • AppleσόΠεʹଂ͞Ε͍ͯΔ εΫϦʔϯϦʔμʔ
VoiceOverͷ͍ํ
VoiceOverΛONʹ͢Δʹ
None
VoiceOverରԠ͕ ඞཁͳ໘
ԿखΛՃ͑ͳͯ͘ • جຊతͳ UIKit ෦σϑΥϧτͰใ͕ ༩͞Ε͍ͯΔ • UILabel ͳͲͦͷ··ಡΈ্͛ΒΕΔ
ରԠ͕ඞཁ • CALayer OpenGL Λ͍ͬͯΔ • ҙਤͨ͠ಡΈํͰͳ͍ • km/hʢ͖ΖΊʔͱΔ͢Βͬ͠Ύ͍͑ͪʣ
• ը૾ͷΞΫηγϏϦςΟϥϕϧ
ରԠ͕ඞཁ • TableViewCell ͕Ϙλϯʹͳ͍ͬͯΔ • σϑΥϧτͰtraitsʹԿೖ͍ͬͯͳ͍ͷͰɺ buttonͩͱΘ͔Βͳ͍ • accessoryType͕ࢦఆ͞Ε͍ͯΔ࣌σϑΥϧτͰ buttonʹͳΔ
• webϖʔδʹඈͿ߹linkʹ
جຊతͳࣝͱରԠ
͜Ε͔Βग़ͯ͘ΔϓϩύςΟ • isAccessibilityElement • value / accessibilityLabel / accessibilityTraits /
accessibilityHint • [Value] [Label] [Trait] [Hint]ͷॱͰಡ·ΕΔ
isAccessibilityElement • ΞΫηγϏϦςΟࢧԉٕज़͕ΞΫηεՄೳͳ ཁૉ͔Ͳ͏͔Λද͢ • ಡΈ্͛ͯ΄͍͠߹trueʹ
isAccessibilityElement • αϒϏϡʔ͕͋Δ߹ɺ͕trueͰ͋Ε ࢠʹΧʔιϧͨΒͳ͍
ϥϕϧ ϥϕϧ USVF ϥϕϧ ϥϕϧ ʜʜʜ GBMTF ϥϕϧ ϥϕϧ
Value • ཁૉͷݱࡏͷ • ϘϦϡʔϜεϥΠμʔͷ߹ɺ labelʮϘϦϡʔϜʯɺ valueϘϦϡʔϜϨϕϧ
accessibilityLabel • VoiceOver ରԠͷཁ • VoiceOver ଞͷΞΫηγϏϦςΟࢧԉٕज़ ʹಡΈऔΒΕΔ • σϑΥϧτͰ͋Δఔࢦఆ͞Ε͍ͯΔ
accessibilityTraits • ಛੑΛද͢ • ཁૉͷঢ়ଶɺಈ࡞ɺ࣮ߦՄೳͳৼΔ͍ͳͲ • UIButton ͳΒ buttonɺUIDatePicker ͳΒ
adjustableɺબঢ়ଶͳΒ selected ͳͲ
accessibilityHint • ͋ΔΞΫηγϏϦςΟཁૉ͕ԿΛ͢Δͷ͔ɺ Կ͕Ͱ͖Δͷ͔Λิઆ໌ • ʮදࣔ͢ΔʹμϒϧλοϓʯͳͲ • Label ͚ͩͰཧղͰ͖ΔͷͰ͋Εෆཁ
※labelͱIdentifierͷҧ͍ • accessibilityLabel • Ϣʔβ͚ͷจࣈྻͳͷͰɺදه͕มΘΔ ͜ͱʢʮՃʯˠʮՃ͢ΔʯͳͲʣ →UIςετͷϥϕϧͱ͔ͯ͠ͳ͍
※labelͱIdentifierͷҧ͍ • accessibilityIdentifier • ։ൃऀ͚ͷจࣈྻͰɺUIςετ࣌ͷࣝผ ͳͲʹΘΕΔ →جຊతʹมΘΒͣɺUIςετ͖
+αͷରԠ
άϧʔϐϯά
άϧʔϐϯά ᶃ ᶄ ᶅ ᶆ
shouldGroupAccessibilityChildren • VoiceOver ͕ϨγʔόʔͷࢠཁૉΛ άϧʔϓԽ͢Δඞཁ͕͋Δ͔Ͳ͏͔Λද͢
shouldGroupAccessibilityChildren
shouldGroupAccessibilityChildren ᶃ ᶄ ᶅ ᶆ
ྑ͍ΞΫηγϏϦςΟ ϥϕϧͱ
ͲΜͳϥϕϧ͕͍͍ͷ͔ • γϯϓϧʢҰ୯ޠͳͲʣ • ίϯτϩʔϧͷछྨؚΊͳ͍ • ʮϥϕϧʯͱ͔ʮϘλϯʯ͍Βͳ͍ • ӳޠͷ༲্ɺେจࣈ࢝·ΓϐϦΦυऴΘΓʹ •
ҙຯͷ͋ΔΞχϝʔγϣϯʹϥϕϧΛ
ίϯςΩετʹԊ͍ͬͯΔ • ʮPlusʯ
ίϯςΩετʹԊ͍ͬͯΔ • ʮAddʯ
ίϯςΩετʹԊ͍ͬͯΔ • ʮAdd to cartʯ / ʮAdd to favoritesʯ
ίϯςΩετʹԊ͍ͬͯΔ • ʮAdd peanut butter to cartʯ
Voice Control ͕͍͢͝
Voice Control ͱ • ԻͰૢ࡞͕Ͱ͖Δ • Siri ͱҟͳΓɺΦϑϥΠϯͰ༻Մೳ • ࠓ·Ͱ͕͑ͨɺݶఆత
ࠓ·Ͱ
iOS 13 ʙ • ԻίϚϯυ͕ॆ࣮ • ΄΅΄΅ͯ͢ͷૢ࡞͕ԻͰ࣮ݱͰ͖Δ • ͋·Γใ͕ग़ͯͳ͍ͷͰৄ͘͠ݴ͑ͳ͍
Introducing Voice Control on Mac and iOS — Apple ʢhttps://www.youtube.com/watch?v=aqoXFCCTfm4ʣ
$PSSFDU MPWF 4JYUFFO
Introducing Voice Control on Mac and iOS — Apple ʢhttps://www.youtube.com/watch?v=aqoXFCCTfm4ʣ
4IPX OVNCFST
Introducing Voice Control on Mac and iOS — Apple ʢhttps://www.youtube.com/watch?v=aqoXFCCTfm4ʣ
4IPX HSJE
Introducing Voice Control on Mac and iOS — Apple ʢhttps://www.youtube.com/watch?v=aqoXFCCTfm4ʣ
ΞΫηγϏϦςΟͱ Swift UI
Swift UIΛ͏ͱ • ඪ४UIύʔπσϑΥϧτͰ͢Ͱʹ ΞΫηγϒϧ • ΧελϜUIύʔπࣗಈͰΞΫηγϒϧʹ
ࣗಈͰָνϯରԠ
Accessibility in SwiftUI ʢhttps://developer.apple.com/videos/play/wwdc2019/238/ʣ ࣗಈͰϥϕϦϯά
Accessibility in SwiftUI ʢhttps://developer.apple.com/videos/play/wwdc2019/238/ʣ ࣗಈͰ௨
ରԠ͕ඞཁͳྫ
Accessibility in SwiftUI ʢhttps://developer.apple.com/videos/play/wwdc2019/238/ʣ $IFDLNBSL(MZQI
Accessibility in SwiftUI ʢhttps://developer.apple.com/videos/play/wwdc2019/238/ʣ 4JHOVQ$PNQMFUF
Accessibility in SwiftUI ʢhttps://developer.apple.com/videos/play/wwdc2019/238/ʣ /PUMBOE
Accessibility in SwiftUI ʢhttps://developer.apple.com/videos/play/wwdc2019/238/ʣ Θ͔Γ͍͢ ϥϕϧΛ͚Δ
Accessibility in SwiftUI ʢhttps://developer.apple.com/videos/play/wwdc2019/238/ʣ ཧղͰ͖Δϥϕϧʹ ˣ $POUSBTU3BUJPUP
Accessibility in SwiftUI ʢhttps://developer.apple.com/videos/play/wwdc2019/238/ʣ ඞཁͳ͚Ε ඇදࣔʹ 3FE "EKVTUBCMF ˣ 3FE"EKVTUBCMF
ΞΫηγϏϦςΟରԠ ʢओʹԻٕज़ʣ͕ ਐΜͩੈք
ேى͖ͨΒ… • Siri / εϚʔτεϐʔΧʔʹఱؾΛฉ͘ • త·Ͱͷॴཁ࣌ؒ / ܦ࿏Λฉ͘
Ҡಈத… • ຬһిंͷதɺVoice Over Ͱ Web αΠτ ʮӾཡʯ • ݱࡏΛىʹλΫγʔΛं
;ͱͨ࣌͠ʹ… • Siri ʹങ͍ϦετͷՃΛཔΉ • ՈܭΛೖྗ͢Δ • Siri μογϡʢԾ໊ʣͰΛจ͢Δ
ྉཧத… • Voice Control ͰྉཧΞϓϦΛճ༡͢Δ
ӡసத… • ݱࡏΛىͱ͓ͨ͢͢͠Ίεϙοτ࡞
ΞΫηγϏϦςΟରԠΛ ਐΊΔʹ
ରԠ͕ඞཁͳՕॴΛݟ͚ͭΔ • Accessibility Inspector ΛͬͨΓ ࣗͰૢ࡞ͯ͠ରԠ͕ඞཁͳՕॴΛᖰΓग़͢
σβΠφʔʹڞ༗͢Δ • Human Interface Guidelines ʹ ΞΫηγϏϦςΟ߲ࡌͬͯΔͷͷɺ ࡉ͔͍͜ͱΘ͔Βͳ͍ • ٕज़తʹͲΜͳ͜ͱ͕Ͱ͖Δͷ͔ɺ
ԿʹؾΛ͚ͭͨΒ͍͍ͷ͔Λڞ༗͢Δ
ࣾͷཧղΛಘΔ • ΞΫηγϏϦςΟͷࣾษڧձΛ։࠵͢Δ • ΞΫηγϏϦςΟରԠΛ͢Δ͜ͱʹΑΔ ϢʔβମݧͷมԽʹ͍ͭͯ͑Δ
ରԠ༏ઌΛܾΊΔ • ओཁϑϩʔΛͰ͖Δ͔ • ʮࠔΔॱʯΛݟۃΊΔ
ੵۃతʹඪ४෦Λ͏ • ઃఆͷมԽʹࣗಈͰదԠͤ͞Δ͜ͱ͕Ͱ͖ɺ ख͕͔͔ؒΒͳ͍
श׳Խ͢Δ • ʮຖ݄ୈҰ݄༵ΞΫηγϏϦςΟରԠͷʯ • ϦϦʔεલͷνΣοΫϑϩʔʹΈࠐΉ
·ͱΊ
·ͱΊ • ΞΫηγϏϦςΟରԠಛఆͷΞϓϦ͚ͩͷ Ͱͳ͍ • ศརͳπʔϧΛ͍ͭͭɺΞΫηγϒϧͳ σβΠϯʹ͠Α͏ • ͪΐͬͱͣͭɺiOS ͷΞΫηγϏϦςΟػೳʹ
ରԠ͍ͯ͜͠͏
ϑΟʔυόοΫ
͍ͩ͘͞ • ໊ࡳͷཪͷQRίʔυΛಡΈऔͬͯͶ
એ
None
ࢀߟจݙ
• Designing for Accessibility • https://events.google.com/io/schedule/events/ 2dff8754-7168-4895-a623-b6a842c64906 • Accessibility Programming
Guide for iOS • https://developer.apple.com/library/archive/ documentation/UserExperience/Conceptual/ iPhoneAccessibility/Introduction/Introduction.html • Accessibility for Developers • https://developer.apple.com/accessibility/
• Verifying App Accessibility on iOS • https://developer.apple.com/library/archive/ technotes/TestingAccessibilityOfiOSApps/ TestingtheAccessibilityofiOSApps/
TestingtheAccessibilityofiOSApps.html#//apple_ref/ doc/uid/TP40012619-CH2-SW2 • Accessibility on iOS • https://developer.apple.com/accessibility/ios/
• Accessibility in SwiftUI • https://developer.apple.com/videos/play/ wwdc2019/238/ • Accessibility on
iOS • https://developer.apple.com/accessibility/ios/
• ৭ͷΞΫηγϏϦςΟରԠͰʹཱͬͨπʔϧ • http://bashalog.c-brains.jp/18/02/28-153729.php • ͡Ίͯͷ VoiceOver ରԠ • https://qiita.com/RyoAbe/items/
c111dd9349b6ff67b558 • iOSͷVoiceOverରԠ։ൃ • https://www.slideshare.net/iseebi/iosvoiceover
ؔ࿈هࣄ
• [HIG] ΞΫηγϏϦςΟ - ΠϯτϩμΫγϣϯ • https://qiita.com/akatsuki174/items/ 6f20810e320807bfdeb6 • [HIG]
ΞΫηγϏϦςΟ - ϕετϓϥΫςΟε • https://qiita.com/akatsuki174/items/ 96774d0998e70bef3b94 • [HIG] ΞΫηγϏϦςΟ - ϢʔβΠϯλϥΫγϣϯ • https://qiita.com/akatsuki174/items/ 0d1cb8c9ca44edf4391f
• [HIG] ΞΫηγϏϦςΟ - φϏήʔγϣϯ • https://qiita.com/akatsuki174/items/ 89b72581f5360bc381ed • [HIG]
ΞΫηγϏϦςΟ - ςΩεταΠζͱΣΠτ • https://qiita.com/akatsuki174/items/ 40dd872aa004a7c6d217 • [HIG] ΞΫηγϏϦςΟ - ৭ͱίϯτϥετ • https://qiita.com/akatsuki174/items/ 4b7a7758a809211a0658
• [HIG] ΞΫηγϏϦςΟ - ࢹ֮ޮՌͱϞʔγϣϯ • https://qiita.com/akatsuki174/items/ fc7bf850e1edaa49489c • [HIG]
ΞΫηγϏϦςΟ - ίϯςϯπ • https://qiita.com/akatsuki174/items/ e38f23c92c18257dbd31 • Xcode 11 ͷ Accessibility Inspector ͕ͱͯศར • https://qiita.com/akatsuki174/items/ 6a223bb6529c55bfe343
• ϏδϡΞϧσβΠϯͱΞΫηγϏϦςΟ • https://qiita.com/akatsuki174/items/ 7ebaffad7e6665a80efe • ྑ͍ Siri γϣʔτΧοτͷ࡞Γํ •
https://qiita.com/akatsuki174/items/ e6c6cf9674e8e0008879 • ༏ΕͨΞΫηγϏϦςΟϥϕϧΛ͚Δʹ • https://qiita.com/akatsuki174/items/ 173ceb4307b8baa752db
• Interface Builderʹ͓͚ΔAuto LayoutͷςΫ χοΫ[WWDC 2017] • https://qiita.com/akatsuki174/items/ dd055b6401a79af7ccab •
ΞΫηγϏϦςΟʹྀͨ͠ϏδϡΞϧσβΠϯ • https://note.mu/akatsuki174/n/n1da8474f6eb7
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ