Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Accessibility
Search
Hsiaoming Yang
December 21, 2017
Programming
0
310
Accessibility
Talk on Web Accessibility. Slide for #webhack meetup.
Hsiaoming Yang
December 21, 2017
Tweet
Share
More Decks by Hsiaoming Yang
See All by Hsiaoming Yang
The modern OAuth 2.0
lepture
2
1.8k
Vue: from view to view
lepture
2
5.5k
Other Decks in Programming
See All in Programming
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
470
スタートアップを支える技術戦略と組織づくり
pospome
8
15k
Module Harmony
petamoriken
2
610
なあ兄弟、 余白の意味を考えてから UI実装してくれ!
ktcryomm
10
11k
配送計画の均等化機能を提供する取り組みについて(⽩⾦鉱業 Meetup Vol.21@六本⽊(数理最適化編))
izu_nori
0
120
TVerのWeb内製化 - 開発スピードと品質を両立させるまでの道のり
techtver
PRO
3
1.4k
Why Kotlin? 電子カルテを Kotlin で開発する理由 / Why Kotlin? at Henry
agatan
2
6.2k
【CA.ai #3】Google ADKを活用したAI Agent開発と運用知見
harappa80
0
260
WebRTC、 綺麗に見るか滑らかに見るか
sublimer
1
140
ID管理機能開発の裏側 高速にSaaS連携を実現したチームのAI活用編
atzzcokek
0
190
テストやOSS開発に役立つSetup PHP Action
matsuo_atsushi
0
140
AIと協働し、イベントソーシングとアクターモデルで作る後悔しないアーキテクチャ Regret-Free Architecture with AI, Event Sourcing, and Actors
tomohisa
5
18k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
4 Signs Your Business is Dying
shpigford
186
22k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Balancing Empowerment & Direction
lara
5
780
A Tale of Four Properties
chriscoyier
162
23k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
A designer walks into a library…
pauljervisheath
210
24k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Music & Morning Musume
bryan
46
7k
Designing Experiences People Love
moore
142
24k
Scaling GitHub
holman
464
140k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Transcript
Accessibility A glimpse of web accessibility
About Me ★ Hsiaoming Yang ★ lepture ★ Flask ★
https://github.com/lepture ★ https://lepture.com ★ 暁明株式会社
https://typlog.com
https://authlib.org
Accessibility 0
★ Visual Impairment ★ Hearing Impairment ★ Handicap ★ Left
hand ★ ......
Real life 1
Japan is doing pretty good in accessibility.
Metro
Toilet
Traffic
On Web 2
“Accessibility is not taken into account.”
Rakuten
Before Programming 3
~8%
This is a success message This is an error message
This is a success message This is an error message
✔ ✗
Trello Labels https://trello.com
Font Size General/Accessibility/Larger Text
Interaction & Feedback button:hover a:hover input:focus
Button Button:hover
– Tyrion Lannister “A mind needs books as a sword
needs a whetstone if it is to keep its edge.”
VoiceOver 4
General Accessibility
None
None
VO = Control + Option VO + Shift + Down
Enter an area VO + Shift + Up Leave an area VO + Left Next Element VO + Right Previous Element VO + H Help
Windows https://www.microsoft.com/en-us/accessibility/windows
Accessibility is easy 5
<html lang=“ja”>
Semantic HTML <button> <header> <aside> <img alt=“”>
<a role=“button”> role
Landmarks
None
<a> <i class=“icon-menu” aria-label=“Menu”></i> </a> aria-label
None
None
aria-hidden <a href=“URL”> <i class=“icon-wine” aria- hidden></i> ワイン </a>
aria-live This is a success message ✔
Accessibility is hard 6
★dialog ★tablist ★select ★etc..
References • https://www.w3.org/TR/wai-aria-practices/examples/ landmarks/HTML5.html • https://developer.mozilla.org/en-US/docs/Learn/ Accessibility/HTML • http://www.w3.org/TR/wai-aria/roles •
http://a11yproject.com/
– W3C “The Web is fundamentally designed to work for
all people.”
Thank You Q & A