WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Misuse of TabIndex 0

for

From: Bryan Garaventa
Date: Nov 4, 2015 10:43AM


Precisely, adding aria-describedby on any active element with a role, whether ARIA based or implicit like a standard form field or link, will be announced when tabbing to it. The aria-describedby attribute also accepts multiple ID references separated by spaces for non-contiguous messages, and since this sets the Description property in the Accessibility Tree, it doesn't interfere with the Name calculation. E.G
http://whatsock.com/training/matrices/visual-aria.htm#name-calculation

This is much more useful than setting tabindex="0" on everything, because it is totally unobtrusive.