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

SIA-R10: Accept webauthn token #1339

Merged
merged 11 commits into from
Feb 13, 2023
Merged

Conversation

rcj-siteimprove
Copy link
Contributor

@rcj-siteimprove rcj-siteimprove commented Feb 7, 2023

Resolves #1332

The rule has been updated to accept autocomplete attribute token webauthn.
In addition a few bugs where discovered and fixed. The bugs where:

  • Attributes with modifiers like home followed by nothing were incorrectly passing
  • Attributes with valid tokens followed by invalid tokens were incorrectly passing

The rule logic was also been cleaned up a bit and a few bugs where discovered and fixed. The bugs where:
* Modifiers like `home` followed by nothing was passing
* Valid tokens followed by invalid tokens was passing
@rcj-siteimprove rcj-siteimprove added the major Backwards-incompatible change that touches public API label Feb 7, 2023
@rcj-siteimprove rcj-siteimprove requested a review from a team February 7, 2023 14:42
@rcj-siteimprove rcj-siteimprove self-assigned this Feb 7, 2023
@rcj-siteimprove rcj-siteimprove linked an issue Feb 7, 2023 that may be closed by this pull request
@rcj-siteimprove rcj-siteimprove requested a review from Jym77 February 7, 2023 14:42
packages/alfa-rules/src/sia-r10/rule.ts Outdated Show resolved Hide resolved
packages/alfa-rules/src/sia-r10/rule.ts Outdated Show resolved Hide resolved
packages/alfa-rules/src/sia-r10/rule.ts Outdated Show resolved Hide resolved
packages/alfa-rules/test/sia-r10/rule.spec.tsx Outdated Show resolved Hide resolved
@rcj-siteimprove rcj-siteimprove marked this pull request as draft February 9, 2023 11:08
rcj-siteimprove and others added 5 commits February 9, 2023 15:07
Co-authored-by: Jean-Yves Moyen <jym@siteimprove.com>
This is just a first crude attempt and should probably be reworked, but it seems to work.
@rcj-siteimprove rcj-siteimprove marked this pull request as ready for review February 13, 2023 13:47
@rcj-siteimprove rcj-siteimprove requested review from a team and Jym77 February 13, 2023 13:47
@Jym77 Jym77 changed the title Add support for webauthn token in sia-r10 SIA-R10: Accept webauthn token Feb 13, 2023
@Jym77 Jym77 added patch Backwards-compatible change that doesn't touch public API and removed major Backwards-incompatible change that touches public API labels Feb 13, 2023
@rcj-siteimprove rcj-siteimprove added this pull request to the merge queue Feb 13, 2023
Merged via the queue into main with commit d287d07 Feb 13, 2023
@rcj-siteimprove rcj-siteimprove deleted the sia-r10-accept-webauthn-token branch February 13, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Backwards-compatible change that doesn't touch public API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SIA-R10 should accept webauthn token
2 participants