WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Required Aria Listbox

for

Number of posts in this thread: 2 (In chronological order)

From: Brian Lovely
Date: Mon, Sep 30 2019 7:36AM
Subject: Required Aria Listbox
No previous message | Next message →

I don't think it's uncommon for a native HTML select to be a required field
in a form, but how do you indicate that an ARIA listbox is required? You
can't apply the aria-required attribute to the button.
https://www.w3.org/TR/wai-aria-practices/examples/listbox/listbox-collapsible.html

--
*Brian Lovely*
Capital One Digital Accessibility
804.389.1064




The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

From: Birkir R. Gunnarsson
Date: Mon, Sep 30 2019 6:31PM
Subject: Re: Required Aria Listbox
← Previous message | No next message

If you want to use aria-required you have to go with the "scrollable
listbox implementation:

https://www.w3.org/TR/wai-aria-practices-1.1/examples/listbox/listbox-scrollable.html

(do away with the button as the trigger, aria-required is valid on a
listbox role).

If you have to use a trigger button, there's always the less fancy
backup, visually hidden text/description.

On 9/30/19, Brian Lovely via WebAIM-Forum < = EMAIL ADDRESS REMOVED = > wrote:
> I don't think it's uncommon for a native HTML select to be a required field
> in a form, but how do you indicate that an ARIA listbox is required? You
> can't apply the aria-required attribute to the button.
> https://www.w3.org/TR/wai-aria-practices/examples/listbox/listbox-collapsible.html
>
> --
> *Brian Lovely*
> Capital One Digital Accessibility
> 804.389.1064
>
> >
>
>
> The information contained in this e-mail is confidential and/or proprietary
> to Capital One and/or its affiliates and may only be used solely in
> performance of work or services for Capital One. The information transmitted
> herewith is intended only for use by the individual or entity to which it is
> addressed. If the reader of this message is not the intended recipient, you
> are hereby notified that any review, retransmission, dissemination,
> distribution, copying or other use of, or taking of any action in reliance
> upon this information is strictly prohibited. If you have received this
> communication in error, please contact the sender and delete the material
> from your computer.
>
>
>
> > > > >


--
Work hard. Have fun. Make history.