WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Whether or not to disable form submit button

for

From: Kavein Thran
Date: Dec 18, 2023 4:57AM


re: the required state is not clearly indicated, there's an awesome
discussion on github

Request for clarification: does Name, Role, Value include static
states like "required"? #3523
https://github.com/w3c/wcag/issues/3523

On 12/18/23, Geethavani.Shamanna < <EMAIL REMOVED> > wrote:
> There are two scenarios that I have come across with regard to disabled
> buttons:
> 1. The disabled button is accessible to mouse users, but is not keyboard
> focusable, not in the tab order and not accessible to screen reader users.
> 2. The disabled button is keyboard-focusable and is in the tab order, but
> not accessible to screen reader users. In this instance we recommend the use
> of the aria-disabled attribute.
>
> Considering that required fields are not always clearly indicated in forms,
> validating individual fields might be a better solution than disabling the
> Submit button.
>
> Geetha
>
>