ISSUE-443: ARIA group role should allow the aria-required property

aria-required group

ARIA group role should allow the aria-required property

State:
CLOSED
Product:
ARIA 2.0
Raised by:
Mary Jo Mueller
Opened on:
2011-05-05
Description:
The ARIA role of group should be allowed to have a property of aria-required. I have a couple of use cases where this would be needed when at least one input element in a group must be selected or filled in by the user to complete the input needed in the form.

The first example is a group of checkboxes, such as one you markup with HTML-fieldset or as an aria role of group. What if the the user must select at least one checkbox in the group for the form to be considered complete? You need a programmatic way to mark this group as required because at least one selection must be made. Without an aria-required role, you must add the text '* (select one or more)' to the fieldset text, but that is not a programmatic indicator that it is required.

The second example is a search mechanism where you have multiple fields that are used to fill in the search criteria. These could be any type of input method, entry field, combo box, whatever. At least one of the fields must be filled in to perform a search. Right now there is no way to mark this up with ARIA. You instead must do form validation and display an error message to inform the user that they didn't fill in any search criteria.
Related Actions Items:
No related actions
Related emails:
No related emails

Related notes:

ARIA 1.0 'aria-invalid' is global, but 'aria-required' is not.

James Craig, 6 May 2011, 23:00:31

won't fix. See minutes October 13, 2016 ARIA WG meeting

Richard Schwerdtfeger, 13 Oct 2016, 17:52:38

Display change log ATOM feed


James Nurthen <w3c@nurthen.com>, Valerie Young <spectranaut@igalia.com>, Chairs, Daniel Montalvo <dmontalvo@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 443.html,v 1.1 2023/05/22 16:31:57 carcone Exp $