Skip to content

Commit 49f95d4

Browse files
committed
style: improve verbiage
1 parent 5928dcd commit 49f95d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/item.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ When an `<ion-item>` renders a native `<button>` element, the keyboard interacti
265265

266266
| Key | Description |
267267
| ---------------- | --------------------------------------------------------------------------- |
268-
| <kbd>Enter</kbd> | Activates the item, triggering its `click` event. If the item is of type `submit` within a form, it submits the form. |
269-
| <kbd>Space</kbd> | Activates the item, triggering its `click` event. Does not submit the form, even if the item has `type` set to `submit`. |
268+
| <kbd>Enter</kbd> | Activates the item, triggering its `click` event. If the item is within a form and has `type` set to `"submit"`, it submits the form. |
269+
| <kbd>Space</kbd> | Activates the item, triggering its `click` event. Does not submit the form, even if the item `type` is `"submit"`. |
270270

271271
#### Anchor
272272

0 commit comments

Comments
 (0)