autofocus is 100% legitimate feature of HTML5, and just because it can be abused it shouldn't be triggering warnings.
3 Matching Annotations
- Last 7 days
-
github.com github.com
-
-
Warning on something that is key feature a lot of major websites use makes no sense. The alternative of focusing the main input with js is not an improvement at all.
-
More actionsWarnings make sense in two cases: something should just not be used ever, as it has no legitimate uses, or extremely rare there exists a better alternative In this case both are false. autofocus has many legitimate uses - including literally Internet's most popular website; and the alternatives of hand-writing JS code doing the pre-focusing, or not pre-focusing are both actively worse. Therefore this warning needs to go. (and all other warnings that don't fit into those two categories)
-