Skip to content
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

Accessible Authentication: Does copy-paste or autofills pass? #1292

Closed
ghost opened this issue Aug 12, 2020 · 7 comments
Closed

Accessible Authentication: Does copy-paste or autofills pass? #1292

ghost opened this issue Aug 12, 2020 · 7 comments
Labels
3.3.7 Accessible Authentication deprectated - use 3.3.8 Accessible Authentication (Minimum) Duplicate Public Comment WCAG 2.2
Projects

Comments

@ghost
Copy link

ghost commented Aug 12, 2020

Reviewing 3.3.7: Accessible Authentication, TFA appears to be in scope. For example, "A web site that requires 2-factor authentication allows for multiple options for the 2nd factor, including a USB-based method where the user simply presses a button to enter a time-based token.".

However, with mobile websites, you can autofill OTPs that are sent via SMS. So there is no cognitive requirement. But this is specific to someone accessing the website on mobile.

example of autofilled OTP

That said, more broadly, on mobile the user may have an authentication app. In this case, they just need to go to the app, copy the code, and paste it into the website.

On desktop, the user may just have to copy and paste code from an email. I don't know if this would be in scope. I would guess if the email is just a link ("click this link to activate your account"), it would not be in scope. So would it be in scope if they had to copy a code from the email and paste it into a field, to perform the same task.

@alastc alastc added 3.3.7 Accessible Authentication deprectated - use 3.3.8 Accessible Authentication (Minimum) WCAG 2.2 Public Comment labels Aug 12, 2020
@alastc alastc added this to To do in WCAG 2.2 Aug 19, 2020
@alastc
Copy link
Contributor

alastc commented Sep 14, 2020

I think the crux here is whether copy-paste is a recognised method of bypassing the need to transcribe a set of numbers/characters.

In the example above I've not seen that short-cut myself (where the phone grabs the numbers out of a text message), I wonder how wide-spread & reliable that is?

@mraccess77
Copy link

iOS provides me the option to paste codes from text messages on my iPhone. It appears as an option above the keyboard on screen.

@patrickhlauke
Copy link
Member

this would be iOS specific, so not something that can be generally relied on. it's essentially an OS addition to the more general concept of copy/paste operations (iOS "preloads" your clipboard with / automatically copies what it guesses is a confirmation code in a text message, and lets you paste it easily, i a single operation). if the concept of copy/paste is disallowed (which I'd say would be far more restrictive), then this niceness in iOS makes no difference overall (as you couldn't say "offer these various authentication alternatives...oh except on iOS)

@ghost
Copy link
Author

ghost commented Sep 14, 2020

It is supposedly supported on Android 9 as well,

I think that @alastc is correct, though.

I think the crux here is whether copy-paste is a recognised method of bypassing the need to transcribe a set of numbers/characters.

This is just the system making the copy-paste quicker. But the underlying question is whether or not there is a cognitive test when one can access the platform on a system which would allow the code to be copied and pasted and thus bypass any cognitive test.

@alastc
Copy link
Contributor

alastc commented Sep 15, 2020

@mraccess77 that might be why I haven't seen it, I use a custom keyboard.

Overall, I don't think the website can know what system all their users will have, so it doesn't seem like a reliable thing.

If copy/paste is ok, that's the core, and a good question to get the experience of the cognitive task force (I have emailed this question).

@alastc alastc changed the title Is 3.3.7: Accessible Authentication out of scope when the user agent autofills OTPs Accessible Authentication: Does copy-paste or autofills pass? Sep 16, 2020
@alastc
Copy link
Contributor

alastc commented Sep 16, 2020

There has been further discussion in #1359, and a PR created to address both in #1419.

@alastc
Copy link
Contributor

alastc commented Nov 10, 2020

The PR has been approved, please re-open if you think it has not been addressed sufficiently.

@alastc alastc closed this as completed Nov 10, 2020
WCAG 2.2 automation moved this from To do to Done Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.3.7 Accessible Authentication deprectated - use 3.3.8 Accessible Authentication (Minimum) Duplicate Public Comment WCAG 2.2
Projects
WCAG 2.2
  
Done
Development

No branches or pull requests

3 participants