Tag component considerations #11215
Replies: 6 comments 3 replies
-
I saw another actionable tag used in an ibm.com experimental component This demo uses a tag “Merchandising offer” that is an actionable tag (I think it is basically a link?). That breaks the paradigm of tags being informational, not operable (except when used for filtering purposes). It visually is not distinguishable from a ‘read only’, informational tag. That in itself I’d call a design problem. tag.button.mov |
Beta Was this translation helpful? Give feedback.
-
This is a related issue about an interactive tag #7592. We used to have this, but I am not seeing it in our React storybook anymore. |
Beta Was this translation helpful? Give feedback.
-
The Carbon Platform squad uses selectable tags in a filter menu. Tags that have the selected state will be included in the top filter. Unselected tags will remain visible in the menu but will not be in the top filter. This is a good tag variant to have in our system. s |
Beta Was this translation helpful? Give feedback.
-
@jwitkowski79 do you have any updates on your exploratory work? Another team (is also getting into this space, and any lessons learned would be helpful. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I realized there is what could be another use case that has come up a number of times on the #accessibility-at-ibm slack channel, including this very meaty thread on using tag-like styling as a form of content categorization, including in search results Note that many discussions are about colour highlighting of text that do NOT use tags as part of the solution. Similar considerations apply, so thought it was worthwhile mentioning it, because inevitably someone will use tags this way. |
Beta Was this translation helpful? Give feedback.
-
As discussed at CAG, there seem to be at least
34 variants of the tag component:The Carbon next page also hints at another variant which is almost equivalent of a shopping cart icon, that enumerates the number of tags/filters that are applied.
Challenges and considerations with these variants are addressed in an accessibility analysis, which includes comments on the existing documentation, recordings of some screen reader issues with a current implementation, and a first take at suggesting how the states for each variant might work.
@laurenmrice and @aagonzales, feel free to bring me in on any discussions on this component.
Beta Was this translation helpful? Give feedback.
All reactions