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
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
580
スクラムチームを立ち上げる〜チーム開発で得られたもの・得られなかったもの〜
ohnoeight
2
350
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
190
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
300
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
490
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
470
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
170
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
12k
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
150
安心してください、日本語使えますよ―Ubuntu日本語Remix提供休止に寄せて― 2024-11-17
nobutomurata
1
990
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Facilitating Awesome Meetings
lara
50
6.1k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Embracing the Ebb and Flow
colly
84
4.5k
Building Adaptive Systems
keathley
38
2.3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Code Reviewing Like a Champion
maltzj
520
39k
Designing Experiences People Love
moore
138
23k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
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
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ