Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TBI - Dropdown with additional description space #2409

Open
gpeuc opened this issue Sep 25, 2024 · 0 comments
Open

TBI - Dropdown with additional description space #2409

gpeuc opened this issue Sep 25, 2024 · 0 comments
Labels
ui-components @sap-ux/ui-components

Comments

@gpeuc
Copy link
Contributor

gpeuc commented Sep 25, 2024

In some of our dropdowns, the line items that users can select are a bit complicated. At the moment, we are handling this with a plain tooltip on each of the dropdown line items.

This method is not accessible enough from multiple angles and reasons, especially for sighted people.

However, luckily for us, VS Code itself already has a design pattern for such cases — where more explanation is needed for line items. We should simply copy this →

drawing

Some details:

  • note that not all line items have description, in that case the separator line is hidden (so the dropdown doesn't end with separator line)
  • descriptions can vary in size, so the block has to be able to grow and shrink
  • we should keep the tooltip as description as we have it today, so that the screen readers pick that up

@815are

@gpeuc gpeuc added the ui-components @sap-ux/ui-components label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui-components @sap-ux/ui-components
Projects
None yet
Development

No branches or pull requests

1 participant