E-mail List Archives
Re: Alternatives to a custom listbox
From: Steve Green
Date: Feb 2, 2024 11:39AM
- Next message: Jim Homme: "Microsoft Word Objects And Text Boxes"
- Previous message: jeffgutsell@fuse.net: "Alternatives to a custom listbox"
- Next message in Thread: Laurence Lewis: "Re: Alternatives to a custom listbox"
- Previous message in Thread: jeffgutsell@fuse.net: "Alternatives to a custom listbox"
- View all messages in this Thread
You could do that as long as you add the appropriate ARIA attributes and keyboard event handlers. I generally recommend using <details> and <summary> elements because all the accessibility requirements are baked-in and no JavaScript is needed.
Steve Green
Managing Director
Test Partners Ltd
-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of <EMAIL REMOVED>
Sent: Friday, February 2, 2024 6:01 PM
To: 'WebAIM Discussion List' < <EMAIL REMOVED> >
Subject: [WebAIM] Alternatives to a custom listbox
Hi All,
A developer friend has quizzed me bout creating a custom popup listbox that needs to contain images next to each text option. I pointed him to the W3 authoring guidelines page on listboxes as well as the whatsock.com site.
But I got to thinking that this widget apparently will only have a handful of options. So I am wondering whether there would be a problem with just putting a standard radio buttons group in a <div> popup?I am not sure exactly what the options will be. He just said this would have been perfect for a <select> control accept for the need for pictures.
Jeff Gutsell
- Next message: Jim Homme: "Microsoft Word Objects And Text Boxes"
- Previous message: jeffgutsell@fuse.net: "Alternatives to a custom listbox"
- Next message in Thread: Laurence Lewis: "Re: Alternatives to a custom listbox"
- Previous message in Thread: jeffgutsell@fuse.net: "Alternatives to a custom listbox"
- View all messages in this Thread