March 1, 2017
https://jnurthen.github.io/presentations/aria-csun.html#/
Twitter: @jnurthen
My Fake Button
But What about Keyboard users?
My Fake Button
But What about Screen Reader users?
My Fake Button
ARIA defines attributes to convey:
banner
complementary
contentinfo
form
main
navigation
search
article
columnheader
definition
directory
document
group
heading
img
list
listitem
math
note
presentation
region
row
rowheader
separator
toolbar
alert
alertdialog
button
checkbox
dialog
gridcell
link
log
marquee
menuitem
menuitemcheckbox
menuitemradio
option
progressbar
radio
scrollbar
slider
spinbutton
status
tab
tabpanel
textbox
timer
tooltip
treeitem
combobox
grid
listbox
menu
menubar
radiogroup
tablist
tree
treegrid
= role="presentation"
<div role="switch checkbox" aria-checked="true">
role="term"
dt
role="searchbox"
input[type="search"]
role="figure"
figure
Note - we already had role=definiton in ARIA 1.0
<div role="feed">
<article tabindex="-1">Story 1</article>
<article tabindex="-1">Story 2</article>
<article tabindex="-1">Story 3</article>
<article tabindex="-1">Story 4</article>
</div>
<div role="table">
<div role="row">
<div role="columnheader">Header 1</div>
<div role="columnheader">Header 2</div>
</div>
<div role="row">
<div role="cell">Cell 1</div>
<div role="cell">Cell 2</div>
</div>
</div>
Also - new magic value of aria-colcount, aria-rowcount & aria-setsize of -1
Chrome??
Trees, Dialogs, Grid or Listbox
- Zebra
- Zoom
CAUTION: Changes are more complex than this
Recommend to read Authoring practices guide carefully.
Also - Bryan Garaventa has an excellent Blog on this subject
<del>role=application<del>
<ins>role=region</ins>
aria-errormessage
Allows to specify that a dialog is modal or not modal.
A well behaving screen reader will "hide" the rest of the content on the page if modal
Allows to specify what are the shortcut to navigate to or activate something
Doesn't actually implement the shortcut
specifies that this is the current "thing" in the superset of "things"
ARIA 1.1 (Candidate Recommendation)
ARIA 1.1 Authoring Practices(Working Draft)
WAI-ARIA Graphics Module 1.0 (Working Draft)
Digital Publishing ARIA 1.0 Module (Candidate Recommendation)