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
Accessibility
Search
Hsiaoming Yang
December 21, 2017
Programming
0
300
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.7k
Vue: from view to view
lepture
2
5.4k
Other Decks in Programming
See All in Programming
AIエージェントによるテストフレームワーク Arbigent
takahirom
0
340
UPDATEがシステムを複雑にする? イミュータブルデータモデルのすすめ
shimomura
0
490
TypeScript製IaCツールのAWS CDKが様々な言語で実装できる理由 ~他言語変換の仕組み~ / cdk-language-transformation
gotok365
7
400
セキュリティマネジャー廃止とクラウドネイティブ型サンドボックス活用
kazumura
1
150
コンポーネントライブラリで実現する、アクセシビリティの正しい実装パターン
schktjm
1
710
20250528 AWS Startupイベント登壇資料:AIコーディングの取り組み
procrustes5
0
140
インターフェース設計のコツとツボ
togishima
2
670
テスト分析入門/Test Analysis Tutorial
goyoki
13
2.8k
〜可視化からアクセス制御まで〜 BigQuery×Looker Studioで コスト管理とデータソース認証制御する方法
cuebic9bic
3
310
GoのWebAssembly活用パターン紹介
syumai
2
910
ワンバイナリWebサービスのススメ
mackee
10
7.6k
AIにコードを生成するコードを作らせて、再現性を担保しよう! / Let AI generate code to ensure reproducibility
yamachu
7
6.2k
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
35
2.7k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Building Adaptive Systems
keathley
42
2.6k
Balancing Empowerment & Direction
lara
1
100
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Adopting Sorbet at Scale
ufuk
77
9.4k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Facilitating Awesome Meetings
lara
54
6.4k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
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