False positive error in Nu HTML Checker for tabindex="-1" inside interactive control

Hi there,

from a recent validation run for an accessibility audit: while it makes 
sense that tabindex inside an interactive control should be flagged, I'm 
getting false positives for a tabindex="-1" (which yes, could hint at 
this element perhaps getting programmatic focus in some way, but not 
necessarily...so maybe a warning rather than an error?)

Error: An element with the attribute tabindex must not appear as a 
descendant of an element with the attribute role=button.
 >↩        <div ng-switch="usercardShow" tabindex="-1">↩

P
-- 
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke

Received on Wednesday, 24 April 2019 15:40:52 UTC