You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
post-dropdown: A container displayed on top of page content with different options for animation and key bindings as well as a JS interface for opening/closing it (Reference: shoelace dropdown)
post-menu: A container for menu items with keyboard bindings for arrow keys that move focus between elements (Reference: shoelace menu)
post-menu-item: A focusable action, can be a link or a button, provides styling options for icons, badges and other things (Reference: shoelace menu item)
post-navigation: A container for multiple menus, providing keyboard interactions to move focus between different menus (Reference: APG disclosure navigation)
post-flyout: A container similar to post-dropdown (maybe also a variant of the dropdown?)
post-listbox: A list of selectable options, either single or multi select, provides key bindings to move focus between elements (Reference: APG Listbox)
post-option: A selectable option, part of a listbox, provides styling options for icons and badges and possibly other things
post-option-group: A grouping mechanism for post-option or post-menu-item elements, can have an optional title (Reference: MDN optgroup)
post-combobox: An input with attached post-listbox in a post-dropdown, can be used to enter free text with suggestions (either restricted to search results or also accepting other inputs). Advanced use cases can include multi select with free text (Reference: APG combobox)
post-select: A select box with attached post-listbox in a post-dropdown, can be used to select one or multiple options from the list. Advanced selects can have a search input inside the dropdown to filter options (Reference: shoelace select)
post-split-button: A button with secondary actions in a dropdown (Reference: split button gui challenge)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Content displayed on top of the page that is providing additional actions or a selection of choices to the user. Can contain menus or select lists.
Dropdowns with aria-roles assigned to them
Types of dropdowns:
Dropdown anatomy
Anatomy of different dropdowns
post-dropdown
: A container displayed on top of page content with different options for animation and key bindings as well as a JS interface for opening/closing it (Reference: shoelace dropdown)post-menu
: A container for menu items with keyboard bindings for arrow keys that move focus between elements (Reference: shoelace menu)post-menu-item
: A focusable action, can be a link or a button, provides styling options for icons, badges and other things (Reference: shoelace menu item)post-navigation
: A container for multiple menus, providing keyboard interactions to move focus between different menus (Reference: APG disclosure navigation)post-flyout
: A container similar topost-dropdown
(maybe also a variant of the dropdown?)post-listbox
: A list of selectable options, either single or multi select, provides key bindings to move focus between elements (Reference: APG Listbox)post-option
: A selectable option, part of a listbox, provides styling options for icons and badges and possibly other thingspost-option-group
: A grouping mechanism forpost-option
orpost-menu-item
elements, can have an optional title (Reference: MDN optgroup)post-combobox
: An input with attachedpost-listbox
in apost-dropdown
, can be used to enter free text with suggestions (either restricted to search results or also accepting other inputs). Advanced use cases can include multi select with free text (Reference: APG combobox)post-select
: A select box with attachedpost-listbox
in apost-dropdown
, can be used to select one or multiple options from the list. Advanced selects can have a search input inside the dropdown to filter options (Reference: shoelace select)post-split-button
: A button with secondary actions in a dropdown (Reference: split button gui challenge)Beta Was this translation helpful? Give feedback.
All reactions