RE: Need clarity on listbox, menu, dialog, or something else

IMO a dialog. It has more than 1 type of controls in it. Listboxes and menus can only have options or menuitems respectively.

 

 

From: Storr, Francis [mailto:francis.storr@intel.com] 
Sent: Wednesday, February 7, 2018 11:29 AM
To: public-aria@w3.org
Subject: Need clarity on listbox, menu, dialog, or something else

 

Hi, all

 

I’ve been going through the ARIA specs and am trying to work out how a particular pop-up widget should be marked up. An example can been seen on the BBC’s news page (for example: HYPERLINK "https://urldefense.proofpoint.com/v2/url?u=http-3A__www.bbc.com_news_av_uk-2D42970067_cheddar-2Dman-2Ddna-2Dshows-2Dearly-2Dbrit-2Dhad-2Ddark-2Dskin&d=DwMGaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=CIHu8rc_0wRTTC_7DvWtiGNKjpA-3oTgbu_6ve6hP0I&m=e9Ykfv6c6zdOHa4FO7V9yDfy4hcJHErb3kUo1pvv3VI&s=8BuANy0u9mSZtsy_8AM5Ww6DAtfuOkrX3rN6iV4ggvY&e="http://www.bbc.com/news/av/uk-42970067/cheddar-man-dna-shows-early-brit-had-dark-skin). Take a look at the Share link on the right of the page (assuming you’re on a desktop display). What could that pop-up panel be marked up as? Looking at ARIA 1.1, I feel it could be:

 

A listbox (“A widget that allows the user to select one or more items from a list of choices.”)
A menu (“A menu is often a list of common actions or functions that the user can invoke.”) although this feels weaker as it’s not “presented in a manner similar to a menu on a desktop application”.
A non-modal dialog (“A dialog is a window overlayed on either the primary window or another dialog window.”)

 

Any advice would be gratefully received.

 

Thanks

 

— 

Francis Storr, Intel

 

Received on Wednesday, 7 February 2018 22:23:02 UTC