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

[4.2] Override Check quick Icon #38813

Closed
wants to merge 3 commits into from

Conversation

brianteeman
Copy link
Contributor

Several users have expressed the view that the red error styling on th quickicon when there are overrides to check is too "scary".

This pr introduces a separate warning class for "warning" and updates the js to use this warning instead of the error

To test either run npm ci or use a prebuilt build

Several users have expressed the view that the red error styling on th quickicon when there are overrides to check is too "scary".

This pr introduces a separate warning class for "warning" and updates the js to use this warning instead of the error
@joomla-cms-bot joomla-cms-bot added NPM Resource Changed This Pull Request can't be tested by Patchtester PR-4.2-dev labels Sep 22, 2022
@N6REJ
Copy link
Contributor

N6REJ commented Sep 22, 2022

how can we trigger the update warning during testing?

@Kostelano
Copy link
Contributor

When hovering the cursor, the color of the icon merges with the background, which was not (as far as I remember) in the danger type.

Screenshot_1

@RickR2H
Copy link
Member

RickR2H commented Sep 23, 2022

I have tested this item ✅ successfully on 8d5e28e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

1 similar comment
@viocassel
Copy link
Contributor

I have tested this item ✅ successfully on 8d5e28e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

@RickR2H
Copy link
Member

RickR2H commented Sep 23, 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Sep 23, 2022
@brianteeman
Copy link
Contributor Author

this can not possibly be rtc

@RickR2H
Copy link
Member

RickR2H commented Sep 23, 2022

@brianteeman what's wrong with the PR?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

@brianteeman
Copy link
Contributor Author

#38813 (comment)

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Sep 23, 2022
@RickR2H
Copy link
Member

RickR2H commented Sep 23, 2022

Back to pending


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

@brianteeman
Copy link
Contributor Author

Please retest

image

image

@RickR2H
Copy link
Member

RickR2H commented Sep 23, 2022

I have tested this item ✅ successfully on 333b2f6

Hover icon now working. Thanks Brian!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

@Kostelano
Copy link
Contributor

I have tested this item ✅ successfully on 333b2f6


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

@alikon
Copy link
Contributor

alikon commented Sep 23, 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38813.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Sep 23, 2022
@coolcat-creations
Copy link
Contributor

I think that the colors used have not enough contrast:
grafik
grafik
(I took them from the screens posted here)

@brianteeman
Copy link
Contributor Author

Suggested colours welcome

@coolcat-creations
Copy link
Contributor

What about this combinations?
https://medium.com/handsome-perspectives/a-guide-to-color-accessibility-in-product-design-aa3e8919be0
The second row AAA looks good to me

@brianteeman
Copy link
Contributor Author

The background colour is NOT being defined in this PR. It is using the one defined globally in the atum template variables

@coolcat-creations
Copy link
Contributor

I remember I researched accessible colors and set them up but it was reverted by someone else :-(

@brianteeman
Copy link
Contributor Author

As this PR is about using the warning instead of the error I would really like to see this merged as it is and then the JAT can make sure that the core template colours are all accessible. Or the JAT can actually submit a PR

@coolcat-creations
Copy link
Contributor

I would suggest to merge the colors first so that your PR does not bring any accessibility issues on the front dashboard.

@RickR2H
Copy link
Member

RickR2H commented Sep 30, 2022

@coolcat-creations could you make a PR? Happy to test as I agree with this PR...

@coolcat-creations
Copy link
Contributor

I try, I don't have a dev environment because composer and npm does not work on my computer but I try to create the PR "blind" - maybe I can see then in the prebuild packages if I changed it in the correct file.

@coolcat-creations
Copy link
Contributor

I just had a look in the github files and it's slightly more then just changing the warning color because the featured state is using warning as well, which is strange. I need a buddy to get composer running on my computer then I can do this with pleasure and fix some of the colors.

@N6REJ
Copy link
Contributor

N6REJ commented Sep 30, 2022

I try, I don't have a dev environment because composer and npm does not work on my computer but I try to create the PR "blind" - maybe I can see then in the prebuild packages if I changed it in the correct file.

Run my program and your worries will go away :D https://bearsampp.com/get-started Takes about 5 minutes to setup and zero "install"

@coolcat-creations
Copy link
Contributor

I try, I don't have a dev environment because composer and npm does not work on my computer but I try to create the PR "blind" - maybe I can see then in the prebuild packages if I changed it in the correct file.

Run my program and your worries will go away :D https://bearsampp.com/get-started Takes about 5 minutes to setup and zero "install"

Thank you but I am on a Mac :) When I try to install Composer it's always complaining about missing libraries.

@N6REJ
Copy link
Contributor

N6REJ commented Sep 30, 2022

Thank you but I am on a Mac :) When I try to install Composer it's always complaining about missing libraries.

well darn.

@coolcat-creations
Copy link
Contributor

Appreciate help and feedback on #38885

@crystalenka
Copy link
Member

The WCAG 2.0 contrast checker is famously inaccurate for white-on-orange text; it's calculating pure contrast instead of perceived contrast.

While not technically WCAG 2.0, it is more accurate to test the colors in the upcoming WCAG 3.0 checker for these particular combos. (More here)[https://www.myndex.com/APCA/]

Here are the APCA results for the hover state:
(contrast okay for spot and non-text elements only)

Screen Shot 2022-10-04 at 11 29 58

And for the default state:
(contrast insufficient)

Screen Shot 2022-10-04 at 11 31 34

So the contrast definitely needs to be improved. However, I don't think that we don't have to change the colors as drastically as in #38885 in order to get it there :)

I'll comment over there also with some ideas.

@brianteeman
Copy link
Contributor Author

So the contrast definitely needs to be improved. However, I don't think that we don't have to change the colors as drastically as in #38885 in order to get it there :)

Thanks and agreed.

I'll comment over there also with some ideas.

And/or submit a pr to this branch

@chmst chmst added the a11y Accessibility label Oct 10, 2022
@HLeithner
Copy link
Member

if I understood this correctly this pr is not RTC right or is it better then nothing?

@coolcat-creations
Copy link
Contributor

It will place a not accessible warning on the home dashboard. I will rework the color change PR now.

@brianteeman
Copy link
Contributor Author

It is better than nothing and the PR proposed by @coolcat-creations is a seperate thing that will require considerable testing on its own

@coolcat-creations
Copy link
Contributor

Please test #38885 :-)

@coolcat-creations
Copy link
Contributor

But you introduce here to break accessibility @brianteeman ? I think the color needs to be fixed and then your PR can be merged without breaking a11y

@chmst
Copy link
Contributor

chmst commented Oct 15, 2022

Please also test with setting "monochrome" and changing the hue value for atum

@brianteeman
Copy link
Contributor Author

Please also test with setting "monochrome" and changing the hue value for atum

Before and after this PR the monochrome setting makes all the icon shades so close together they cannot be differentiated

Before and after this PR the atum hue settings have zero impact on the quickicons

@brianteeman
Copy link
Contributor Author

Not wasting my time on this.

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Oct 15, 2022
@brianteeman brianteeman deleted the quickicon branch October 15, 2022 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility NPM Resource Changed This Pull Request can't be tested by Patchtester UI/UX
Projects
Status: Review in Progress
Development

Successfully merging this pull request may close these issues.

None yet