-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FormAnalyzer] Evaluate checkboxes #734
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic of the code makes sense to me 👍
My only concern is we’re adding it because it feels like a good idea, but without any supporting use case for it — are there any forms/tests where we’ve seen a weaker signal and having this improves them?
f7a6e90
to
adda2ab
Compare
@alistairjcbrown This just an idea that came as a conversation topic related to https://app.asana.com/0/1200930669568058/1209022781094891/f (I cannot find the comment right now sorry :(). The freshdirect.com example is the one we can try it out with, where the signal without it is -3, and with it is -6. I think the form is clearly a sign-in, even without forgot password, looking at it visually and the "Stay signed in" checkbox is part of that: If it creates regression or something we will see it in reports, and I can revert it. But i feel confident enough that we need it! |
Reviewer: @alistairjcbrown
Asana: NA
Description
Use text from "Stay signed in" and "Remember me" checkboxes to decrease score (aka increase login score). This is a pretty good hint for login forms, where those checkboxes are available.
The approach/change needed:
evaluateElement
add a new code block to check if the element matches a checkbox (enabled only)getShallowText
logic to get the related label string (only the first one to keep it simple),Steps to test
NA