diff --git a/docs/api/commands/press.mdx b/docs/api/commands/press.mdx index 75ce817591..e06704bb65 100644 --- a/docs/api/commands/press.mdx +++ b/docs/api/commands/press.mdx @@ -12,7 +12,7 @@ componentSpecific: false Trigger native key events in your application to simulate keyboard interactions. -A `keydown`, `press`, and `keyup` event will be dispatched directly to the browser window. +A `keydown` and `keyup` event will be dispatched directly to the browser window. If an input changes due to these events, the proper `input` event will be dispatched. Unlike `cy.type()`, which is best for typing multiple character keys, `cy.press()` will dispatch real keyboard events rather than simulated ones. This command is especially useful when testing focus management and keyboard navigation patterns which are critical for [accessibility testing](/app/guides/accessibility-testing) and great keyboard UX.