Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color on text annotation and group is barely noticable #3498

Open
marco64io opened this issue Mar 6, 2023 · 12 comments
Open

Color on text annotation and group is barely noticable #3498

marco64io opened this issue Mar 6, 2023 · 12 comments
Labels
a11y backlog Queued in backlog bug Something isn't working

Comments

@marco64io
Copy link

Describe the bug

When using the new color picker on a text annotation, it changes nothing, whereas the "old" picker, changes color of lines and text

Steps to reproduce

Use the new coloro picker on a text annotation

Expected behavior

The same as "old" color picker (or, if the new behavior is intended, remove the coloro picker from contextual menu of tex annotation)

Environment

Camunda Modeler 5.8 and Windows 10

Additional context

No response

@marco64io marco64io added the bug Something isn't working label Mar 6, 2023
@nikku
Copy link
Member

nikku commented Mar 7, 2023

I cannot reproduce your issue, cf. screen capture:

capture ChC8vD_optimized

What exactly does not work? Could you share a screen capture yourself?

@nikku nikku added the needs more information Requires additional information to be actionable. label Mar 7, 2023
@marco64io
Copy link
Author

I verified: the colors actually changes, but when the zoom is low the change of color of lines isn't noticeable, so the text annotation, that hasn't an area but lines only, seems not changing color. At higher zoom, the color changes as expected. I apologize for the wrong report

@marco64io
Copy link
Author

Nevertheless it's true that the new and old color pickers have slightly different colors, as can be seen in the attached image (at left the old picker, at right the new)
Cattura

@nikku
Copy link
Member

nikku commented Mar 9, 2023

@marco64io All good! I believe this is good evidence that we should fine tune what we shipped as an accessibility improvement (background <> foreground contrast). The result is that the border is no longer clearly set apart from black.

@nikku
Copy link
Member

nikku commented Mar 9, 2023

This is a side-effect of bpmn-io/bpmn-js-color-picker#9.

@nikku nikku added backlog Queued in backlog and removed needs more information Requires additional information to be actionable. labels Mar 9, 2023
@barmac
Copy link
Contributor

barmac commented Mar 13, 2023

The question is whether text annotation should distinct border and background colors. My expectation would be that the usual background (=fill) color is set on the entire shape.

@marco64io
Copy link
Author

In BPMN specification, the text annotation has an half rectangular border distinct from body, so I think that they cannot have the same color

@barmac
Copy link
Contributor

barmac commented Mar 13, 2023

Some experiments:

image


image


I like the first one but don't have strong feelings. Definitely I wouldn't decrease the contrast as in the second alternative.

@marco64io
Copy link
Author

I prefer the second one because, in my view, is more adherent to specifications (the symbol of text annotation is an half rectangle not a whole rectangle) but, yes, in the second alternative the contrast is a bit too low

@xevien96
Copy link

Hello,
I was made aware of this issue by @barmac . I had a customer reaching out about this in regards to the annotations, but also the colouring of groups. With the colour change from bpmn-io/bpmn-js-color-picker#9 it seems like the colours are harder to keep apart from another and also from default black than before. I will include some screenshots here.

Modeler 5.2.1 - hard to see
Farbschema-Camunda-Modeler-5_21
Modeler 4.8.1 - easier to see
Farbschema-Camunda-Modeler-4_8_1

@xevien96
Copy link

I also like version 2, the brighter colours are easier to be told apart from default black lines.

@barmac
Copy link
Contributor

barmac commented Aug 2, 2024

Thanks for the feedback. Perhaps for the group element the lighter colors may look better with sufficient contrast ensured, but I'm not 100% sure we should change anything regarding this soon.

@nikku nikku added the a11y label Aug 15, 2024
@nikku nikku changed the title Color picker on text annotation Color on text annotation and group is barely noticable Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y backlog Queued in backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants