What fresh hell is THIS now? - Patrick Lauke
<div role="application" tabindex="0"> <div> This is a control </div> <div style="display:none;visibility:hidden; width:0; height:0;" aria-hidden="true" aria-disabled="true" hidden> this is hidden. </div> </div>
<div id="outer" tabindex="0"> <div tabindex="0"> This is a control </div> <div style="display:none;visibility:hidden; width:0; height:0;" aria-hidden="true" aria-disabled="true" hidden> this is hidden. </div> </div>
button
. Without the interactive role you're effectively making it possible to land on a grouping role (in the case of the DIV), it is surprising the display: none
isn't being taken into account but I'd argue nesting tabindex="0"
is bad for users anyway
tabindex="0"
either. Maybe that outer element should use tabindex="-1"
if it needs to take focus programmatically for some reason?