Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion __tests__/spelling-ignore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
- iso # lowercase needed in reference list
- RFC
- rfc
- webauthn

# spell checker checks against strict casing & hence some repeated words here
- Autocomplete
Expand Down Expand Up @@ -278,4 +279,4 @@
- A-lum-max
- A-lum-min
- B-lum-max
- B-lum-min
- B-lum-min
14 changes: 13 additions & 1 deletion _rules/autocomplete-valid-value-73f2c2.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Each test target's `autocomplete` [attribute value][] is a [space separated][] l
1. An optional token that starts with "section-"; then
2. An optional token of either "shipping" or "billing"; then
3. An optional token of either "home", "work", "mobile", "fax" or "pager", only if the last token is "email", "impp", "tel" or "tel-\*"; then
4. A required token from the [correct autocomplete field][].
4. A required token from the [correct autocomplete field][]; then
5. An optional "webauthn" token.

## Assumptions

Expand Down Expand Up @@ -148,6 +149,17 @@ This `autocomplete` [attribute value][] only has the required token "bday-day".
<label>Birthday day<input name="bdayday" type="tel" autocomplete="bday-day"/></label>
```

#### Passed Example 9

This `autocomplete` [attribute value][] has the required token "current-password", followed by the optional "webauthn" token.

```html
<label>
Password
<input type="password" autocomplete="current-password webauthn" />
</label>
```

### Failed

#### Failed Example 1
Expand Down