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
A Slide of session for accessibility ready them...
Search
kassy
July 09, 2016
Design
0
70
A Slide of session for accessibility ready theme in WordCamp Kansai 2016
A Slide of session for accessibility ready theme in WordCamp Kansai 2016
kassy
July 09, 2016
Tweet
Share
More Decks by kassy
See All by kassy
VR and Motion Capture
kassy000
0
42
第65回 WordBench大阪「WordPressコミュニティに3年間参加して」
kassy000
0
140
WordBench Osaka #64 テーマもくもく会
kassy000
1
120
WordPress用ローカル環境構築ツール 「Local by Flywheel」を使ってみて
kassy000
0
2k
WordPress最新事情と広がる地域コミュニティ 関西オープンフォーラム2016
kassy000
1
120
WordPress Codex 日本語版を翻訳してみよう!
kassy000
0
210
How to use the 3D Printer and create the 3D Model data for printing
kassy000
1
110
フルスクラッチのテーマで サイトを作る楽しみ
kassy000
1
8.1k
WordPress in CMS Osaka Summer Festival 2016
kassy000
3
120
Other Decks in Design
See All in Design
Cardápio - Caraguá A Gosto 2024 - De 01/08 a 08/09/2024
caraguatatuba
0
5.9k
志ある事業の種を社会に開花させるための挑戦/ Designship2024_Nishimura
root_recruit
0
160
Charcoal 2.0: デザインシステムの基盤を再構築
godlingkogami
1
340
Карта реализации историй — убийца USM
ashapiro
0
160
[Designship2024] デザインの力でサービスの価値を追求していたら、組織全体をデザインしていた話
okakasoysauce
1
770
ユーザーに向き合うデザインが介護・福祉の現場を変える / User-facing design changes the field of care and welfare
sms_tech
0
100
Test Revisionista
olgastoryboard
0
110
開発チームの中心で心理的安全性をつくる、UXデザイナーの問いかけ方
takuto_yonemichi
1
480
アクセシビリティのはじめかた デザイナー編
tokimari
3
1.3k
ENEOS社事例|アプリ事業を加速させるデザイナーの取り組み / dx-eneos-design
cyberagentdevelopers
PRO
1
170
シームレスな連携を実現するデザイントークンの設計と構築
amishiratori
0
320
ABEMAの進化 – 複雑化したコンテンツ構造とUI改善への道 – / abema-ui-improve
cyberagentdevelopers
PRO
2
300
Featured
See All Featured
Statistics for Hackers
jakevdp
796
220k
Measuring & Analyzing Core Web Vitals
bluesmoon
1
42
Facilitating Awesome Meetings
lara
49
6k
Learning to Love Humans: Emotional Interface Design
aarron
272
40k
For a Future-Friendly Web
brad_frost
175
9.4k
Building Adaptive Systems
keathley
38
2.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
How to Ace a Technical Interview
jacobian
275
23k
4 Signs Your Business is Dying
shpigford
180
21k
A Philosophy of Restraint
colly
203
16k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Transcript
ΞΫηγϏϦςΟରԠͷςʔϚ͕ ެࣜσΟϨΫτϦʹొ͞ΕΔ·Ͱ WordCamp Kansai 2016 ࣮ߦҕһ ദݪɹ߶ʢΧογʔʣ ʙςʔϚ࡞ͷखॱͱϨϏϡʔ࣌ͷରॲํ๏ͷҰྫʙ
ࣗݾհ ొஃऀɿദݪɹ߶ʢ͔͠Βɹ͚ͨ͠ʣ χοΫωʔϜɿΧογʔ Digistry ද ϑϦʔϥϯεWebσβΠφʔ େֶɾઐֶߍͷߨࢣ ത࢜ʢܳज़ʣେࡕܳज़େֶ 2011 ઐ߈ɿใσβΠϯ
͜ͷηογϣϯͷ֓ཁ ʮBG-PhotoFrameʯͱ͍͏ΞΫηγϏϦςΟରԠͷ ςʔϚΛ࡞ɻΞΫηγϏϦςΟͷςʔϚϨϏϡʔΛܦ ͯެࣜσΟϨΫτϦొ͞Ε·ͨ͠ɻ ϨϏϡʔ࣌ͷঢ়گͱɺ࡞ͬͯྑ͔ͬͨͳͲΛ͓͠ ͠·͢ɻ ͜Ε͔ΒςʔϚΛ࡞Δਓɺ·ͨ࡞ͬͨςʔϚΛΞΫ ηγϏϦςΟରԠʹ͢Δํͥͻࢀߟʹ͍ͯͩ͘͠͞ɻ
࣍ • WebΞΫηγϏϦςΟͱ • ΞΫηγϏϦςΟରԠͷςʔϚΛ࡞͖͔͚ͬͨͬ • ΞΫηγϏϦςΟͷςʔϚϨϏϡʔ • ΞΫηγϏϦςΟରԠͷςʔϚΛ࡞ͯ͠ྑ͔ͬͨ͜ͱ
WebΞΫηγϏϦςΟͱ ߴྸऀোऀͳͲ৺ͷػೳʹ੍ͷ͋Δ ਓΛؚΊɺWebΛར༻͢Δͯ͢ͷਓ͕Web Ͱఏڙ͞Ε͍ͯΔใΛऔಘ͠ɺαʔϏε ػೳΛར༻Ͱ͖Δ͜ͱ (ࣾ)ຊWebΞΫηγϏϦςΟڠձϗʔϜϖʔδΑΓ http://www.jawaa.or.jp/Accessibility/
ΞΫηγϏϦςΟରԠͷ WordPressςʔϚΛ࡞Δҙٛ WordPressίϛϡχςΟ͚ͩͰͳ͘ ใࣾձʹߩݙɻ WordPressςʔϚΞΫηγϏϦςΟʹରԠ͢Δ͜ͱͰɺ αΠτ୭Ͱར༻Ͱ͖ΔΑ͏ʹɻ ୭ͰಋೖɺΧελϚΠζͰ͖ΔWordPressɻ
ΞΫηγϏϦςΟରԠͷ ςʔϚΛ࡞͖͔͚ͬͨͬ •WordCamp Tokyo 2015ͷίϯτϦϏϡʔλʔσΠ ʹࢀՃɻͦ͜ͰςʔϚ࡞Λߦ͏ɻ •ࣄͷҊ݅Ͱͭͬͨࣗ͘࡞ͷjQueryϓϥάΠϯΛε λʔλʔςʔϚʮ_s(ΞϯμʔείΞʔɾΤε)ʯʹ ΈࠐΈɻ
WordPressʹ͓͚Δ ΞΫηγϏϦςΟͷΨΠυϥΠϯ • ΩʔϘʔυૢ࡞ςετ • εΫϦʔϯϦʔμʔςετ • Χϥʔίϯτϥετɺ৭ςετ • ίʔυςετ
ςʔϚϨϏϡʔ࣌ʹ͜ΕΒͷςετ͕ߦΘΕ·͢ɻ https://make.wordpress.org/accessibility/handbook/testing/how-to-test-for-accessibility/
ΩʔϘʔυૢ࡞ςετ • λϒΩʔͰϘλϯͷબͷલਐɺޙਐ͕Ͱ͖Δ͜ͱ • ͯ͢ͷϘλϯʹΞΫηεͰ͖Δ͜ͱ • λϒΩʔͰͲͷϘλϯ͕ϑΥʔΧε͞Ε͍ͯΔ͔ɻ • ΩʔϘʔυͷΈͰૢ࡞͕ྃͰ͖ΔΑ͏ʹ͢Δɻ •
ΟϯυΛখͯ͘͞͠ϨεϙϯγϒϞʔυͰ࠶ςε τ • ҟͳΔϒϥβɺλϒϨοτεϚʔτϑΥϯͰςε τ͢Δ
εΫϦʔϯϦʔμʔςετ • ςετڥ • VoiceOver + Safari on Mac •
NVDA + Firefox on Windows • JAWS and IE 11 (no Edge yet) on Windows
ΞΫηγϏϦςΟͷϨϏϡʔΛड͚Δʹ /* Theme Name: Accessibility Ready Theme Theme URI: http://example.com/accessibility-ready-theme/
Description: Accessibility Ready Theme Author: John Doe Author URI: http://example.com Version: 1.0.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: accessibility-ready-theme */ ςʔϚελΠϧγʔτ (style.css) ͷελΠϧγʔτϔομɺ ςʔϚͷಛΛهड़͢ΔTagsʹʮaccessibility-readyʯΛՃ͢Δɻ ެࣜσΟϨΫτϦʹΞοϓϩʔυ https://wordpress.org/themes/upload/ ϨϏϡΞʔ͕ͭ͘·Ͱ3ʙ4͔݄ͻͨ͢Βͭɻ
ϨϏϡʔ༰ͱߦͬͨमਖ਼
ϨϏϡʔ1 എܠ͍ͬͺ͍ʹը૾Λஔͯ͠Δ͚Ͳɺ͜Εͩ ͱจࣈ͕ݟ͑ͮΒ͍Ͱ͢ɻจࣈͷ෦ʹഎܠ৭Λ Ճ͑Δ͜ͱͰ͖·͔͢ʁ ϨϏϡΞʔ จࣈͱഎܠͷΧϥʔίϯτϥετ
ςʔϚΧελϚΠβʔʹഎܠը૾ͱίϯςϯπΤϦΞͷ എܠͷಁ໌Λม͑ΒΕΔػೳΛՃ จࣈͱഎܠͷΧϥʔίϯτϥετ मਖ਼༰
ϘλϯͷϑΥʔΧε࣌ʹ৭͕స͢ΔΑ͏ʹ ͍ͯͩ͘͠͞ɻ ϨϏϡΞʔ ϨϏϡʔ2 ϘλϯͷΧϥʔίϯτϥετ
ͯ͢ͷϘλϯͰϑΥʔΧε࣌ͷ৭Λస ɹ मਖ਼༰ ௨ৗ࣌ ϗόʔ࣌ ϑΥʔΧε࣌ ϘλϯͷΧϥʔίϯτϥετ
ΩʔϘʔυૢ࡞ςετ TabΩʔͰϑΥʔΧεͰ͖Δ֤Ϙλϯͷ ॱ൪Λௐઅ͍ͯͩ͘͠͞ɻ ϨϏϡΞʔ ϨϏϡʔ3
TabΩʔૢ࡞ ɹ मਖ਼༰ tabΩʔ(safaritab+option)ͰϘλϯΛϖʔδ্ Ͱஔ͞Ε͍ͯΔॱ൪௨ΓʹϑΥʔΧεͰ͖ΔΑ ͏ʹमਖ਼ɻ όοΫάάϥϯυϞʔυ ϑΥτϑϨʔϜϞʔυ
എܠͷը૾ؚΊͯஔ͞Ε͍ͯΔͯ͢ ͷը૾ʹaltଐੑΛՃ͍ͯͩ͘͠͞ɻ ϨϏϡΞʔ ϨϏϡʔ4 εΫϦʔϯϦʔμʔ
ɹ मਖ਼༰ εΫϦʔϯϦʔμʔ എܠʹஔ͍ͯ͠ΔΪϟϥϦʔը૾ʹରͯ͠ altଐੑΛՃʢϑΝΠϧ໊͕ʹೖΔΑ͏ʹʣ <ul> <li><img src="http://site.dev/wp-content/uploads/bg-1.jpg" alt="bg-1"></li> <li><img
src="http://site.dev/wp-content/uploads/bg-2.jpg" alt="bg-2"></li> <li><img src="http://site.dev/wp-content/uploads/bg-3.jpg" alt="bg-3"></li> </ul> <ul> <li><img src="http://site.dev/wp-content/uploads/bg-1.jpg"></li> <li><img src="http://site.dev/wp-content/uploads/bg-2.jpg"></li> <li><img src="http://site.dev/wp-content/uploads/bg-3.jpg"></li> </ul>
ͯ͢ͷϘλϯʹରͯ͠ʮscreen-reader-text ʯϥϕϧΛ Ճ͍ͯͩ͘͠͞ɻ bootstrapͷάϥϑΟοΫΞΠίϯΛͬͯΔϘλϯʹରͯ͠ ʮaria-hidden=trueʯͷଐੑΛՃ͍ͯͩ͘͠͞ɻ ϨϏϡΞʔ ϨϏϡʔ5 εΫϦʔϯϦʔμʔ
ɹ मਖ਼༰ εΫϦʔϯϦʔμʔ <span class="glyphicon glyphicon-chevron-right"></span> ΞΠίϯͷΈͷϘλϯεΫϦʔϯϦʔμʔͰಡ Έ্͛ΛεΩοϓɻ ΘΓʹ"screen-reader-text"ΫϥεͷspanཁૉΛ Ճ͠ɺͪ͜Βͷ༰͕ಡΈ্͛ΒΕΔΑ͏ʹ͢Δɻ
<span class="glyphicon glyphicon-picture" aria-hidden="true"></span> <span class="screen-reader-text">Switch Mode</span>
• ݕࡧϑΥʔϜͷSubmitϘλϯΛද͍ࣔͤͯͩ͘͞͞ɻ • ίϝϯτϑΥʔϜͷPost CommentϘλϯ͕খ͗͢͞ ΔͷͰαΠζΛेʹͱ͍ͬͯͩ͘͞ɻ ϨϏϡΞʔ ϨϏϡʔ6 ϑΥʔϜͷϘλϯ
ɹ मਖ਼༰ εΫϦʔϯϦʔμʔ • ݕࡧϑΥʔϜͷݕࡧϘλϯ͕ඇදࣔʹͳ͍ͬͯͨͷͰɺදࣔͤͨ͞ɻ • ίϝϯτߘͷϘλϯͷେ͖͕͞খ͔ͬͨͨ͞ΊɺेͳαΠζΛऔͬ ͨɻ
ଞʹϨϏϡʔͱमਖ਼ΛॏͶͯɾɾɾ
ΊͰͨ͘ొ͞Ε·ͨ͠ʂ Ξοϓϩʔυ͔Βొ·ͰԆ͙Β͍͔͔Γ·ͨ͠ɻ https://ja.wordpress.org/themes/bg-photo-frame/
ΞΫηγϏϦςΟରԠͷςʔϚΛ ࡞ͯ͠ྑ͔ͬͨ͜ͱ
ྑ͔ͬͨ͜ͱ • ਓʹ༏͍͠ςʔϚ͕࡞Ε·ͨ͠ɻ • ͜͜ʹొஃͰ͖Δωλ͕Ͱ͖·ͨ͠ • ԿΑΓΞΫηγϏϦςΟʹ͍͍ͭͯ͢͝ษڧʹ ͳΓ·ͨ͠ɻ
ଞʹྑ͔ͬͨ͜ͱ ݱࡏςʔϚσΟϨΫτϦʹ4000ݸ͙Β͍ͷςʔϚ ͕ొதɻͦͷ͏ͪΞΫηγϏϦςΟରԠͷςʔϚ 100ݸͪΐͬͱɻඇৗʹগͳ͍Ͱ͢ɻ ࡞ͬͨςʔϚཱ͕ͭνϟϯεʂ ࣮ྗΛΞϐʔϧͰ͖Δνϟϯεʂ https://ja.wordpress.org/themes/tags/accessibility-ready/ https://ja.wordpress.org/themes/browse/new/
ϨϏϡʔͷܦҢ͜͜ͰݟΕ·͢ɻ https://themes.trac.wordpress.org/ticket/28202
ΞΫηγϏϦςΟରԠͷςʔϚΛ࡞Δ࣌ʹ ͥͻࢀߟʹ͍ͯͩ͘͠͞ɻ ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ