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
When inside of a Data Table, small disabled toggles are the
wrong color. This causes accessibility issues because they then fade into the
background of the table.
Is this issue related to a specific component?
Small Toggle (disabled), Data Table
What did you expect to happen? What happened instead? What would you like to
see changed?
The colors of the toggles should be different when the toggles are inside of a Data Table.
What browser are you working in?
Firefox
What offering/product do you work on?
IBM Cloud Power Virtual Server
Steps to reproduce the issue
Create a Data Table with a Small Toggle as the value in one of its cells
This can also be re-created on the Carbon Design System website. On the Code tab of the
DataTable page, in the live demo, replace {cell.value} with {<ToggleSmall disabled />}.
The text was updated successfully, but these errors were encountered:
Hmm without changing the value of the tokens themselves I would say just pump up each disabled token to the next step. It starts to get a little close to the off colors but I think that's all we can do without introducing a new token or change a value across the board.
What package(s) are you using?
carbon-components
carbon-components-react
Detailed description
When inside of a Data Table, small disabled toggles are the
wrong color. This causes accessibility issues because they then fade into the
background of the table.
Small Toggle (disabled), Data Table
The colors of the toggles should be different when the toggles are inside of a Data Table.
Firefox
IBM Cloud Power Virtual Server
Steps to reproduce the issue
This can also be re-created on the Carbon Design System website. On the Code tab of the
DataTable page, in the live demo, replace
{cell.value}
with{<ToggleSmall disabled />}
.The text was updated successfully, but these errors were encountered: