Porsche Design SystemSearchNavigate to GitHub repository of Porsche Design SystemOpen sidebar
ConfiguratorExamplesUsageAccessibilityAPI
Select Wrapper Table of Contents Accessibility support Keyboard Combobox Key / stateFunctionDown Arrow Up Arrow Space- Opens the listbox if it's not already displayed without moving focus or changing selection.
- DOM focus remains on the combobox.
SpaceCloses the listbox if it's dispalyed.
Listbox Key / stateFunctionDown Arrow Up ArrowMoves visual focus to the next/previous option.Home EndMoves visual focus to the first/last option.ESCCloses listboxEnter, SpaceSelects an option ARIA enhancements Internal ARIA that is managed by the component: ARIAUsagearia-labelledby="IDREF"References the accessible name of the combobox.aria-describedby="IDREF"References the accessible description and status messages of the combobox.aria-label="STRING"References the accessible name of the listbox.role="status", role="alert"When message and state prop change, the status message is announced.aria-expanded="BOOLEAN"Indicates that the listbox element is displayed/hidden.aria-controls="IDREF"Identifies the element that serves as the listbox.aria-activedescendant="IDREF"Identifies the highlighted option of the listbox.aria-hidden="true"If required attribute is set, the visible indicator is hidden from assistive technologies.aria-autocomplete="list"Indicates that user input effects results of listbox (in filter mode).aria-haspopup="listbox"Indicates that the combobox will open a listbox.aria-required="true"Indicates if the element is required. Development considerations Disabled state In general, you should prevent using the disabled state. Disabled elements are not reachable (focusable) anymore and can be missed by screen reader users. They can be confusing for sighted users as well by not pointing out why these elements are disabled. Tests Automated TechnologySupportAXE-Core (WCAG 2.2 AA, Best-Practice)High-Contrast Mode (light/dark)Text-Zoom (200%) Manual TechnologySupportKeyboardScreen reader (VoiceOver, NVDA)
Global settingsThemeChanges the theme of the application and any Porsche Design System component. It's possible to choose between forced theme light and dark. It's also possible to use auto, which applies light or dark theme depending on the operating system settings automatically.LightDarkAuto (sync with operating system)DirectionChanges the direction of HTML elements, mostly used on<html> tag to support languages which are read from right to left like e.g. Arabic.LTR (left-to-right)RTL (right-to-left)AutoText ZoomChanges the text size and values with unit rem or em relatively. This setting can be defined in browser settings for any website or by an application itself on<html> tag. To achieve WCAG 2.2 AA compliance it's obligatory to support text zoom up to at least 200%.100%130%150%200%