nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

UML sequence diagrams hard to read #2808

Open nus-pe-bot opened 2 months ago

nus-pe-bot commented 2 months ago

Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.


Just a cosmetic flaw, but I noticed that all the sequence diagrams in the DG have a tinted background to indicate which component it's referring to:

image.png

This makes it harder to read the text in the diagram. I think having the objects colour-coded would be good enough, e.g. the red used in image.png


[original: nus-cs2103-AY2324S2/pe-interim#3538] [original labels: type.DocumentationBug severity.VeryLow]

danielleloh commented 2 months ago

Team's Response

Thank you for the report.

Our team feels that there is sufficient contrast, and the diagram is perfectly readable. However, we acknowledge that this is highly subjective and have found research to back up our claim.

Using an online contrast checker, we have found the contrast ratio to be 5.64:1, which passes the AA standard for the internationally recognized Web Content Accessibility Guidelines (WCAG). The AA level is recognized as a legal standard by many countries.

Screenshot 2024-04-20 at 11.15.23 PM.png

This website states a minimum contrast of 4.5:1 for the text to be readable for the AA standard.

Moreover, we do not deem this to be unnecessary as we want to show the interactions between the different entities when a deleteScore command is used. Hence, using the box makes the interactions clear to future developers who want to understand its implementations.

Therefore, we do not think this report is a cause for concern.

sources

https://dequeuniversity.com/tips/color-contrast#:~:text=So%2C%20it%20is%20critical%20to,contrast%20ratio%20of%203%3A1.

Duplicate status (if any):

--