SlideShare a Scribd company logo
How HTML5 and WAI-ARIA Can
Improve Virtual Space of Universities
  Radek PAVLÍČEK, Teiresias Centre, Masaryk University, Brno
What is accessibility good
          for?
Availability – user
must be able to get
  on the web.
Controlability – user
  must be able to
 operate the web.
Comprehensibility –
user must understand
      the web.
Orientation – user must
be able to find the way
   through the web.
Time – user must
be able to fullfil his
   or her task in
 reasonable time.
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
Accessibility is often perceived as a matter
    of people with special needs only.
Accessibility brings benefits also to the elderly, geeks,
             children and very clever men.
Remember

  Accessible web is
beneficial to all users,
not only to users with
    impairement.
How can HTML5 with WAI-ARIA help to improve web
accessibility? Which issues could be solved by them?
History
Picture
     Text




            Link                             Simple form

Web pages were very simple and static in the past. Also
assistive technologies were not so powerful as nowadays.
Present
But today, web is multimedia and interactive space and also
        assistive technologies are more powerfull.
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
In the past, there were two states only: 1
or 0. Is accessible, or isn‘t.
But now, accessibility is perceived as grey gradient, because
very often it is not easy to say whether something is or is not
accessible. This much better describes reality.
What is HTML5?
Semantics
      Markup
       JS API
Offline applications
      Drawing
        etc.
How AT make
web accessible to
  their users
User with
       assistive
      technology




                   A11y API
DOM                off screen
                     model
What is WAI-ARIA?
“WAI-ARIA is a specification that
provides a means of
describing roles, states, and
properties for custom
widgets so that they are
recognisable and usable by
assistive technology users.”

Gez Lemon, Introduction to WAI-ARIA
WAI-ARIA was created to bridge the gap between rich
applications and disabled users by introducing
additional metadata.
WAI ARIA screenshot
WAI-ARIA is a part of
     HTML5.
WAI ARIA is simple markup


  <div role=„navigation“>
Why WAI-ARIA?
Weaknesses in HTML

Dynamic content updates

Complex web applications
WAI-ARIA does not fix all accessibility
issues
WAI-ARIA support
HTML5 Support




       www.html5accessibility.com
What does
WAI-ARIA bring?
Keyboard navigation
  Roles and States
   „Live Regions“
     Landmarks

  and much more
Keyboard Navigation
HTML 4 focusable elements
       were only:

a, area, button, input, object,
      select a textarea.
WAI-ARIA

   A possibility to make
„focusable“ each element.
How to test it
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
Live Regions
Screen Reader & Javascript - AJAX updates with WAI-
ARIA Live Regions - video




               http://youtu.be/jFB_zJE_pjY
Forms (Roles and States)
New atributes for <input>
•   autocomplete     •   height and width
•   autofocus        •   list
•   form             •   min and max
•   formaction       •   multiple
•   formenctype      •   pattern (regexp)
•   Formmethod       •   placeholder
•   formnovalidate   •   required
•   formtarget       •   step
ARIA and HTML5

<label>Color: <select name=color
required aria-required="true"> <option
value="">Choose color
<option>Red
<option>Green
<option>Blue
</select>
</label>
HTML5

<label>Color: <select name=color
required>
<option value="">Choose color
<option>Red
<option>Green
<option>Blue
</select>
</label>
Regions,
Landmarks,
Structure
Headings
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
Landmarks
Demonstration of landmarks
„Standard“ solution


 <div id="menu">
 <h5>Menu</h5>
 <ul>
 …
 </div>
WAI-ARIA improvement

<div id=„menu“
role=„navigation">
<h5>Menu</h5>
<ul>
…
</div>
WAI-ARIA and HTML5

<nav role="navigation">
<h5>Menu</h5>
<ul>
…
</nav>
HTML5 only


<nav>
<ul>
…
</nav>
Distinguishing of menus
<div role=„navigation„ aria-label=„Main
menu“>
<h5>Main menu</h5>
<ul> … </div>

<div role=„navigation„ aria-label=„Section
Menu“>
<h5>Section menu</h5>
<ul>… </div>
How ARIA landmark roles help screen reader users -
video




              http://youtu.be/IhWMou12_Vk
You can use Web Developer Toolbar…
…or Landmarks extension to check the
         presence of roles.
You can only make your
content more accessible
     by using ARIA
It works
When should not I use
       ARIA?
When native HTML will get the job done
Text alternatives of pictures
<img src=„picture.jpg“
alt=„Text alternative.“>
figure and figcaption

 <figure>
 <img src=”picture.jpg”>
 <figcaption>Meaningful
 description.</figcaption>
 </figure>
img and aria-describedby

 <img src=”pictures.jpg” aria-
 describedby=”desc1”>
 …
 <p id=”desc1”>Meaningful
 description.</p>
versatile solution

 <figure>
 <img src=”picture.jpg” alt=”Brief description.”
 aria-describedby=”desc1”>
 <figcaption>Image title</figcaption>
 </figure>
 …
 <p id=”desc1”>More detailed description.</p>
Where to get more
  information?
Pro HTML5 Accessibility
Contact info

pavlicek@teiresias.muni.cz
        @radlicek
Photo credits
•   http://www.flickr.com/photos/nationaalarchief/4025536029/
•   http://www.flickr.com/photos/cornelluniversitylibrary/3678984206/
•   http://www.flickr.com/photos/30795657@N00/434222764/
•   http://www.flickr.com/photos/30072283@N00/4782154855/
•   http://www.flickr.com/photos/_sk/4042566406/sizes/o/in/photostream/
•   http://www.flickr.com/photos/51035702460@N01/19245594/
•   http://www.flickr.com/photos/jasonpearce/136206624/sizes/l/in/photostream/
•   http://www.pooh.cz/upload/img/1000/trattoria-laura-facebook-faux-pas-2.png
•   http://lorenc.info/3MA381/tabulatory.htm
•   http://www.bibri.net/wp-content/uploads/2009/11/Ubuntu-910-obsah1.jpg
•   http://4.bp.blogspot.com/__1B7eTIn3jM/SoMylQ_RqWI/AAAAAAAAAAw/F8u_jtyp3IA/s400/Learn-Hiragana.jpg
•   http://www.mariezabranska.com/pict/textil/16.jpg
•   http://www.stanford.edu/group/accessibility/cgi-bin/presentations/html5_a11y/images/HTML5_braille.png
•   http://pulllava360.saturn.netdna-cdn.com/wp-content/uploads/2011/08/html5_code.jpg
•   http://www.flickr.com/photos/national_library_of_australia_commons/6173531979/
•   http://www.flickr.com/photos/bibliothequedetoulouse/7942246450/
•   http://www.ixibo.com/wp-content/uploads/2010/12/web-browsers.jpg
•   http://blogs.telerik.com//Libraries/Carl_Bergenhem_s_Library/waiaria_001.sflb
•   http://upload.wikimedia.org/wikipedia/commons/thumb/0/0e/Nasa_earth.jpg/800px-Nasa_earth.jpg
•   http://tapetky.kx.cz/files/hokej3.jpg

More Related Content

PPT
How to improve UX by implementing accessibility - WebExpo 2013 Edition
PDF
PDF
WordPress & User Experience - WordCamp St. Louis
PDF
WordPress & User Experience - WordCamp London
PPT
Web Accessibility
PDF
Building Mobile Websites with Joomla
PDF
My Portfolio
PDF
How to create accessible websites - WordCamp New York
How to improve UX by implementing accessibility - WebExpo 2013 Edition
WordPress & User Experience - WordCamp St. Louis
WordPress & User Experience - WordCamp London
Web Accessibility
Building Mobile Websites with Joomla
My Portfolio
How to create accessible websites - WordCamp New York

What's hot (10)

PDF
IconFonts
DOCX
PDF
Designing for The Modern Web
PDF
Creating mobile apps without native code
PPT
Drupalcamp LA Aug 2009
PPT
Southwest Conference on Disability 2011
PPTX
Designing for Accessibility (SOFLUX)
PPTX
Accessibility And 508 Compliance In 2009
PPT
Website Accessibility
PPTX
Twitter bootstrap force.com site and responsive design
IconFonts
Designing for The Modern Web
Creating mobile apps without native code
Drupalcamp LA Aug 2009
Southwest Conference on Disability 2011
Designing for Accessibility (SOFLUX)
Accessibility And 508 Compliance In 2009
Website Accessibility
Twitter bootstrap force.com site and responsive design
Ad

Similar to How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities (20)

PDF
Testing For Web Accessibility
PDF
Accessibility and Web Technologies @HTML5_Toronto
PDF
Html5 aria-css-ibm-csun-2016
PPTX
A Half Day Workshop on Building Accessible Websites For People With Disabilities
PPTX
Web Accessibility Overview
PPTX
Accessibility with OutSystems
PPT
Role of-engineering-best-practices-to-create-an-inclusive-web final-1
PDF
Let's get accessible!
PDF
ARIA: A bridge to greater accessibility
PDF
Accessibility and why it matters
PPT
Rich internet application (ria)
PPTX
HTML5 & WAI ARIA for online banking
PDF
WordCamp JHB 2017
PDF
Show & tell - A more accessible accordion
PPTX
Wave training
DOCX
Aria interview questions
PPT
Making JavaScript Accessible
PPTX
Web accessibility Development Tools In Action
PPTX
Creating dynamic and accessible content in Drupal 7 using WAI-ARIA
PDF
jQuery: Accessibility, Mobile und Responsive
Testing For Web Accessibility
Accessibility and Web Technologies @HTML5_Toronto
Html5 aria-css-ibm-csun-2016
A Half Day Workshop on Building Accessible Websites For People With Disabilities
Web Accessibility Overview
Accessibility with OutSystems
Role of-engineering-best-practices-to-create-an-inclusive-web final-1
Let's get accessible!
ARIA: A bridge to greater accessibility
Accessibility and why it matters
Rich internet application (ria)
HTML5 & WAI ARIA for online banking
WordCamp JHB 2017
Show & tell - A more accessible accordion
Wave training
Aria interview questions
Making JavaScript Accessible
Web accessibility Development Tools In Action
Creating dynamic and accessible content in Drupal 7 using WAI-ARIA
jQuery: Accessibility, Mobile und Responsive
Ad

More from Radek Pavlíček (20)

PPTX
Digitální design bez bariér
PPTX
Jak na přístupnost knihovních webů
PPTX
Jak a proč řeší velké weby přístupnost
PPT
Služby Střediska Teiresiás na konferenci INSPO 2017
PDF
Přístupnost webů knihoven - příklady dobré a špatné praxe
PDF
Testování přístupnosti v soutěží Zlatý erb 2015
PPTX
Proč zavést WAG 2.0 v Česlé republice
PPT
Hodnocení přístupnosti v soutěži Zlatý erb 2014
PPTX
Když už Vyhláška o přístupnosti nestačí
PPTX
Přístupnost na mobilních zařízeních
PPT
Testování přístupnosti v soutěži Zlatý erb 2013
PPT
Nahradí WCAG 2.0 Vyhlášku o přístupnosti?
PPTX
Tvorba přístupných dokumentů v neziskových organizacích
PPTX
Jak jsou na tom parádní weby s přístupností
PPTX
How to ensure accessibility of documents, published at masaryk university
PPT
How to improve UX by implementing accessibility
PPTX
Přístupnost HTML5 v kombinaci s WAI-ARIA
PPTX
Přístupnost není charita
PPTX
I pro knihovny je přístupnost důležitá
PPT
Measuring real accessibility
Digitální design bez bariér
Jak na přístupnost knihovních webů
Jak a proč řeší velké weby přístupnost
Služby Střediska Teiresiás na konferenci INSPO 2017
Přístupnost webů knihoven - příklady dobré a špatné praxe
Testování přístupnosti v soutěží Zlatý erb 2015
Proč zavést WAG 2.0 v Česlé republice
Hodnocení přístupnosti v soutěži Zlatý erb 2014
Když už Vyhláška o přístupnosti nestačí
Přístupnost na mobilních zařízeních
Testování přístupnosti v soutěži Zlatý erb 2013
Nahradí WCAG 2.0 Vyhlášku o přístupnosti?
Tvorba přístupných dokumentů v neziskových organizacích
Jak jsou na tom parádní weby s přístupností
How to ensure accessibility of documents, published at masaryk university
How to improve UX by implementing accessibility
Přístupnost HTML5 v kombinaci s WAI-ARIA
Přístupnost není charita
I pro knihovny je přístupnost důležitá
Measuring real accessibility

How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities