E-mail List Archives
Re: Whether or not to disable form submitbutton
From: tim.harshbarger
Date: Dec 18, 2023 6:13AM
- Next message: Laura Roberts: "Re: bug in axes 2024 PAC checker"
- Previous message: Kavein Thran: "Re: Whether or not to disable form submit button"
- Next message in Thread: Geethavani.Shamanna: "Re: Whether or not to disable formsubmitbutton"
- Previous message in Thread: Kavein Thran: "Re: Whether or not to disable form submit button"
- View all messages in this Thread
Yes. However, this does not mean you should automatically use ARIA. Take the required state for example.. There are non-ARIA ways to indicate that. You could make the required indicator (perhaps an *, the word "required", or an image with alt text) part of the accessible name of the element. If you are using a native HTML element that is interactive, you might use the required keyword.
I do want to note something about the disabled state just in case no one has mentioned this. Screen reader users can still access controls in a disabled state even if they are not part of the tab order. Unlike people who can see but may only use the keyboard to interact with a system, a screen reader does allow the user to access all non-interactive elements that are visible on the screen. There are a few exceptions where a screen reader user might not be able to access content that is visible, but just using the disabled keyword on an element won't accomplish that alone.
Thanks!
Tim
- Next message: Laura Roberts: "Re: bug in axes 2024 PAC checker"
- Previous message: Kavein Thran: "Re: Whether or not to disable form submit button"
- Next message in Thread: Geethavani.Shamanna: "Re: Whether or not to disable formsubmitbutton"
- Previous message in Thread: Kavein Thran: "Re: Whether or not to disable form submit button"
- View all messages in this Thread