wet-boew / wet-boew

Web Experience Toolkit (WET): Open source code library for building innovative websites that are accessible, usable, interoperable, mobile-friendly and multilingual. This collaborative open source project is led by the Government of Canada.
https://wet-boew.github.io/wet-boew/index-en.html
Other
1.6k stars 661 forks source link

Why we can't have access to more colors? #8292

Open marieeved opened 6 years ago

marieeved commented 6 years ago

Hi,

Within the WET code, we can use only the "alert color" and all the inline style is erased automatically by Teamsite.

I know that it's written that it's because of accessibility issue, but I think that if we used also text with the color or invisble text for accessibility, in my head, it should be ok to use more colors for a website (same as with images)..

On day-to-day, a colorful website (with a lot of images) that's what people are used to see and that's what people want too.

Can someone explain me why we can't use more colors on our websites or if there is a way to do it, tell me how? *I saw that it works with JS, but it's complexifing code for something so basic.

**I work with an intranet and IE11.

Thanks a lot,

duboisp commented 6 years ago

@marieeved The use of those color "alert color" is more based on the purpose rather than the actual color.

This project might interest you and they would welcome any additional help: https://github.com/gctools-outilsgc/design-system Eventually, when their work would be more in a mature state, it would cross the path of the wet-boew project.

duboisp commented 6 years ago

all the inline style is erased automatically by Teamsite.

You should send a request to your internal Teamsite support team.

marieeved commented 6 years ago

@duboisp So, it's not supposed to do that? I thought that it was for limit different style/design between websites (to create uniformity)...

duboisp commented 6 years ago

So, it's not supposed to do that? I assume you refer to my comments regarding the removal of inline style. WET has nothing to do with that and there is no code that auto-remove any inline styling. For me, that is more a design decision from your web content management system team.

I thought that it was for limit different style/design between websites (to create uniformity)...

This is limited to the theme style only, not globally. Although the baseline CSS reuse in every theme include a default style. Then it is up to the theme to overwrite those style. If none do, then yes we can have the impression that WET enforce an uniformity, but in reality that is still a theme related decision.

Regarding the intranet theme, I know it's implementation may vary from institution/organization compared to each others.