You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a use case for adding tabindex="0" to a generic container (like a <div>) to add keyboard accessibility to a scrollable container. Without the tabindex attribute, if the scrollable container doesn't contain any interactive elements, you won't be able to scroll that content with a keyboard.
Since there's no role associated with this, there isn't really anything to key off of to determine that this shouldn't be checked. The only current workaround for this is to disable the rule for that line.
The text was updated successfully, but these errors were encountered:
There's a use case for adding
tabindex="0"
to a generic container (like a<div>
) to add keyboard accessibility to a scrollable container. Without thetabindex
attribute, if the scrollable container doesn't contain any interactive elements, you won't be able to scroll that content with a keyboard.Since there's no role associated with this, there isn't really anything to key off of to determine that this shouldn't be checked. The only current workaround for this is to disable the rule for that line.
The text was updated successfully, but these errors were encountered: