a11yTips — Use ARIA to expose the role of custom user…

Use ARIA to expose the role of custom user interface components

no. 131

Make sure custom user interface controls’ roles are identified using ARIA roles

Authors today often use DIV and SPAN elements to create custom controls, rather than use the predefined HTML elements. For example, instead of relying on regular checkboxes, authors might design fake checkboxes using images and will use DIV elements, some CSS and a little JavaScript to turn them into what looks like checkboxes. These custom controls often look really cool, until users try to access them with anything but a mouse. When they do, they quickly realize [...]

Read article at dboudreau.tumblr.com

Article Taxonomies

Categories: Terms: , , , , , Keywords: , ,


5 stars; 90.9% of tests passed.
Level ALevel AALevel AAAUnique

Error data courtesy of Tenon.io

Read article at dboudreau.tumblr.com