web-components icon indicating copy to clipboard operation
web-components copied to clipboard

[checkbox] Material focus outline color is different from the radio-button when unchecked

Open vursen opened this issue 2 years ago • 2 comments

As discovered in #3031, the Material focus outline color in the checkbox is different from the radio-button when unchecked.

image

image

Expected outcome

The focus outline should be the same color in the radio-button and the checkbox.

Actual outcome

The focus outline is differently colored in the radio-button and the checkbox.

vursen avatar Nov 17 '21 13:11 vursen

AFAIK the color should depend on the checked state of the control (gray when unchecked, purple (primary/accent) when checked).

jouni avatar Nov 17 '21 13:11 jouni

@jouni Thank you for clarification, in this case we probably should update vaadin-radio-button instead 🤔

web-padawan avatar Nov 17 '21 13:11 web-padawan