diff --git a/docs/queries/byrole.mdx b/docs/queries/byrole.mdx
index 28a6b8e6f..a5109aade 100644
--- a/docs/queries/byrole.mdx
+++ b/docs/queries/byrole.mdx
@@ -165,47 +165,47 @@ the "👎" by calling `getByRole('link', { current: false })`. To learn more abo
the current state see
[ARIA `aria-current`](https://www.w3.org/TR/wai-aria-1.2/#aria-current).
-### `pressed`
+### `disabled`
-Buttons can have a pressed state. You can filter the returned elements by their
-pressed state by setting `pressed: true` or `pressed: false`.
+You can filter elements by their disabled state by setting `disabled: true` or
+`disabled: false`.
For example in
```html
-
-
+
+
Failed to login
```
-you can get the "👍" button by calling `getByRole('button', { pressed: true })`.
-To learn more about the pressed state see
-[ARIA `aria-pressed`](https://www.w3.org/TR/wai-aria-1.2/#aria-pressed).
+you can get the "Login" button by calling
+`getByRole('button', { disabled: true })`. To learn more about the disabled
+state see
+[ARIA `aria-disabled`](https://www.w3.org/TR/wai-aria-1.2/#aria-pressed) and
+[MDN `disabled` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled).
-### `disabled`
+### `pressed`
-You can filter elements by their disabled state by setting `disabled: true` or
-`disabled: false`.
+Buttons can have a pressed state. You can filter the returned elements by their
+pressed state by setting `pressed: true` or `pressed: false`.
For example in
```html
-
-
Failed to login
+
+
```
-you can get the "Login" button by calling
-`getByRole('button', { disabled: true })`. To learn more about the disabled
-state see
-[ARIA `aria-disabled`](https://www.w3.org/TR/wai-aria-1.2/#aria-pressed) and
-[MDN `disabled` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled).
+you can get the "👍" button by calling `getByRole('button', { pressed: true })`.
+To learn more about the pressed state see
+[ARIA `aria-pressed`](https://www.w3.org/TR/wai-aria-1.2/#aria-pressed).
### `suggest`