Accessibility & WebGL
Urban Škudnik
urban.skudnik@gmail.com, @urbanskudnik
Before you get all
hyped...
http://tvtropes.org/pmwiki/pmwiki.php/Main/ThinkOfTheChildren
Everything is only your
good will.
Accessibility
The State of H5
The good
The bad
• FF4 (b6) - 6 elements, partial support for 4
• Opera 10.62 - 7 elements partially
supported
• IE 9 - 3 partially...
WAI - ARIA
How does that look?
<span
tabindex="0"
role="checkbox"
aria-checked="true"
onkeydown="return
checkBoxEvent
(event);"
oncli...
The best thing?
• Dojo - mature
• YUI
• GWT - partial
• jQuery UI - fully compliant by 2.0
Landmarks
• role =
• navigation
• complementary
• main
• form
The bad sadly-must-
accept
• FF 4 & IE9 - 31 fully, 2 partially, one
unsupported
• Chrome - 2 partially
http://www.html5ac...
Live updates
Benefits
http://www.flickr.com/photos/prairiefireimaging/4212859050/
WebGL
There’s always Flash...
...but surely we can do
better!
What we have...
• Bitmap (Canvas)
• Vector (SVG)
• OpenGL (Canvas)
Right tool for the right
job
• DOM
• Shapes
• Event handling - easy
• Single HTML element,
rendering
• Pixels
• Event hand...
WebGL
• Not very weby - OpenGL ES
• Low level API
• Hard without libraries
• No installation
• Rapid prototyping
Just how hard?
We are dealing with
OpenGL, after all!
But we adopted
libraries for JS too!
Warchest
• X3DOM
• GLGE
GLGE
• Blender-to-WebGL
X3DOM
<x3d width="500px" height="400px">
<scene>
<shape>
<appearance>
<material diffuseColor='red'></material>
</appearanc...
Upcoming SlideShare
Loading in …5
×

H5C3 meetup - Accessibility & WebGL

1,774 views
1,604 views

Published on

Presentation on HTML5's accessibility support, what developers can do to enhance experience for people with disabilities, which problems ARIA solves and what kind of goodies are brought by WebGL.

Published in: Technology, Art & Photos
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,774
On SlideShare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
20
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

H5C3 meetup - Accessibility & WebGL

  1. 1. Accessibility & WebGL Urban Škudnik urban.skudnik@gmail.com, @urbanskudnik
  2. 2. Before you get all hyped...
  3. 3. http://tvtropes.org/pmwiki/pmwiki.php/Main/ThinkOfTheChildren
  4. 4. Everything is only your good will.
  5. 5. Accessibility
  6. 6. The State of H5
  7. 7. The good
  8. 8. The bad • FF4 (b6) - 6 elements, partial support for 4 • Opera 10.62 - 7 elements partially supported • IE 9 - 3 partially supported • Chrome - null. www.html5accessibility.com
  9. 9. WAI - ARIA
  10. 10. How does that look? <span tabindex="0" role="checkbox" aria-checked="true" onkeydown="return checkBoxEvent (event);" onclick="return checkBoxEvent(event);"> Label </span>
  11. 11. The best thing? • Dojo - mature • YUI • GWT - partial • jQuery UI - fully compliant by 2.0
  12. 12. Landmarks • role = • navigation • complementary • main • form
  13. 13. The bad sadly-must- accept • FF 4 & IE9 - 31 fully, 2 partially, one unsupported • Chrome - 2 partially http://www.html5accessibility.com/index-aria.html
  14. 14. Live updates
  15. 15. Benefits http://www.flickr.com/photos/prairiefireimaging/4212859050/
  16. 16. WebGL
  17. 17. There’s always Flash...
  18. 18. ...but surely we can do better!
  19. 19. What we have... • Bitmap (Canvas) • Vector (SVG) • OpenGL (Canvas)
  20. 20. Right tool for the right job • DOM • Shapes • Event handling - easy • Single HTML element, rendering • Pixels • Event handling - hard • Have to rely on internal buffer SVG Canvas
  21. 21. WebGL • Not very weby - OpenGL ES • Low level API • Hard without libraries • No installation • Rapid prototyping
  22. 22. Just how hard?
  23. 23. We are dealing with OpenGL, after all!
  24. 24. But we adopted libraries for JS too!
  25. 25. Warchest • X3DOM • GLGE
  26. 26. GLGE • Blender-to-WebGL
  27. 27. X3DOM <x3d width="500px" height="400px"> <scene> <shape> <appearance> <material diffuseColor='red'></material> </appearance> <box></box> </shape> </scene> </x3d>

×