etn-ccis / blui-react-themes

Brightlayer UI themes for Eaton applications
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Warning snackbar inaccessible #34

Open huayunh opened 2 years ago

huayunh commented 2 years ago

Describe the desired behavior

One should never have white text on yellow bg color.

dark text like black500 or the proposed theme.palette.warning.dark might be better

Describe the current behavior

image

Additional Context

In MUI v5 there's this color="warning" or color="success" introduced. This is going to be a big accessibility issue for a lot of components, not just snackbars. Buttons, for example, would start to look like this image

jeffvg commented 2 years ago

TBD`Having a meeting on this and will discover the update from that

daileytj commented 1 year ago

Removing the milestone allocation until we get more information on acceptance criteria.

@huayunh can you look at this again and give some guidance as to whether we want to address this as a one off thing here or make it part of the larger accessibility updates coming in the future?

huayunh commented 1 year ago

this is an a11y thing