Monday, May 22, 2017

Accessible Rich Internet Applications (ARIA) notes

<li aria-controls="whatever">Touch Me</a>

 
 

This sort of thing associates a control with something else to affect like so:

<div id="whatever">Well that felt good!</div>

 
 

Perhaps above a "Touch Me" tab unhides the div with the whatever id. Get it? Moreover this may denote a collapsible div and if it is collapsed:

<div aria-expanded="false"

No comments:

Post a Comment