Skip to content

Commit 0fdf4d4

Browse files
committed
chore(template-require-mandatory-role-attributes): prettier-align docs table
1 parent 935ef6f commit 0fdf4d4

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/rules/template-require-mandatory-role-attributes.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ When the role attribute explicitly declares a role that the native element alrea
4747

4848
Exempt pairings include (non-exhaustive):
4949

50-
| Element | Role | Required ARIA state supplied by |
51-
| ------------------------- | -------------------- | ------------------------------------------------ |
52-
| `<input type="checkbox">` | `checkbox`, `switch` | native `checked` state |
53-
| `<input type="radio">` | `radio` | native `checked` state |
54-
| `<input type="range">` | `slider` | native `value` / `min` / `max` |
50+
| Element | Role | Required ARIA state supplied by |
51+
| ------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------- |
52+
| `<input type="checkbox">` | `checkbox`, `switch` | native `checked` state |
53+
| `<input type="radio">` | `radio` | native `checked` state |
54+
| `<input type="range">` | `slider` | native `value` / `min` / `max` |
5555
| `<input type="number">` | `spinbutton` | native `value` / `min` / `max` (spinbutton's required `aria-valuenow` is derived from the native `value`) |
56-
| `<input type="text">` | `textbox` | no required ARIA |
57-
| `<input type="search">` | `searchbox` | no required ARIA |
56+
| `<input type="text">` | `textbox` | no required ARIA |
57+
| `<input type="search">` | `searchbox` | no required ARIA |
5858

5959
Undocumented pairings (e.g. `<input type="checkbox" role="menuitemcheckbox">` — axobject-query does not list this) remain flagged.
6060

0 commit comments

Comments
 (0)