diff --git a/README.md b/README.md index 67dbd06b..fa660966 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,8 @@ expect(getByTestId('input')).toBeDisabled() expect(getByText('link')).not.toBeDisabled() ``` +> This custom matcher does not take into account the presence or absence of the `aria-disabled` attribute. For more on why this is the case, check [#144](https://github.com/testing-library/jest-dom/issues/144). +