From ec430f733afc9fd1d4fa1281a1e1bd62d0a86bcd Mon Sep 17 00:00:00 2001 From: Rob Phoenix Date: Fri, 3 Jan 2025 15:03:47 +0000 Subject: [PATCH] update docs --- packages/web-ui/src/components/Button/Button.docs.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/web-ui/src/components/Button/Button.docs.mdx b/packages/web-ui/src/components/Button/Button.docs.mdx index ed632d7e0..55f5315b1 100644 --- a/packages/web-ui/src/components/Button/Button.docs.mdx +++ b/packages/web-ui/src/components/Button/Button.docs.mdx @@ -35,7 +35,9 @@ Disabled buttons use `aria-disabled`, rather than `disabled`, so that they are still focusable when using the keyboard. This means that screen readers are still able to find the button, with the insight that it is disabled and that there is perhaps an action which needs to be taken, rather than not knowing -there is a button there at all. The `onClick` handler will still be disabled. +there is a button there at all. The `onClick` handler will be disabled, however +you will need to make sure you disable any other expected actions, including +when using `type="submit"`. ### Known issues