Skip to content

Commit

Permalink
Docs: Add clarifying note about disabled elements (#5520)
Browse files Browse the repository at this point in the history
* Add clarifying note about disabled elements

* lint markdown

* Update docs/guides/core-concepts/interacting-with-elements.mdx

Co-authored-by: Emily Rohrbough <[email protected]>

---------

Co-authored-by: Jordan <[email protected]>
Co-authored-by: Emily Rohrbough <[email protected]>
  • Loading branch information
3 people authored Nov 20, 2023
1 parent 2f4ec7f commit 54c2c07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/guides/core-concepts/interacting-with-elements.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ will perform the action.

### Disability

Cypress checks whether an element's `disabled` property is `true`.
Cypress checks whether the `disabled` property is `true` on a
[form control](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled) element, such as `button` or `input`. Setting a `disabled` attribute on other elements will
have no effect on a user's ability to interact with them,
and won't impact Cypress actionability checks.

### Detached

Expand Down

0 comments on commit 54c2c07

Please sign in to comment.