Replies: 2 comments
-
some more example scenarios: select all for a group of checkboxes (deselect all) this was implemented incorrect - it opens a translate popover |
Beta Was this translation helpful? Give feedback.
-
I have a similar problem in the (IBM) product I'm working for. As @janhassel was mentioning, the
Side notes: Point 2. is the same with the |
Beta Was this translation helpful? Give feedback.
-
I've observed the following situation in many designs over the last years and think it would be worth to create a new button variant for this.
Scenario:
There is a need for a button that aligns with body text and doesn't take up as much space as the ghost button. In these cases, I've often seen the Link component being used to achieve the appropriate visual output. This however creates misleading semantics for users with assistive technologies as these links are not actually navigational but perform an action.
Example:
"See more" button to expand and collapse the full text.
Left: Link, misleading semantics but better visual result
Middle: Small ghost button, correct semantics but awkward visual result
Right: Same as middle, just shifted 1rem to the left. Awkward visual result when hovered or focused
Creating a new button variant "Text" (not set on the naming) would help improve accessibility in these use cases (I can share more via slack if needed). It would ideally have no padding to sit flush with any adjacent elements. The hover and focus states would need to be considered (should they mimic the link states or still have more of a button-feeling?)
Beta Was this translation helpful? Give feedback.
All reactions