Open RoxaneGall opened 1 year ago
Hi @utarwyn, can you add two words to justify why it is not implementable? I have the same feeling but I am not a specialist of web tech. it will enable us to close the issue.
Thanks
Hello @jhertout, sorry for misleading you with the addition of the "non-implementable" tag. In fact, it's a perfectly relevant rule specified in the CnumR best-practice guide. I identified it as such because we don't have a CSS plugin at the moment, and I explain in the ticket https://github.com/green-code-initiative/ecoCode-html/discussions/2 that implementing it seems rather difficult.
I don't know what you want to do with the ticket? Do we leave it open even if a CSS plugin doesn't seem possible at the moment?
OK, I set the issue as "implementable" and I put a tag "ecoCode-css" to know where we have to move it. I think we have to improve our labels. "ecoCode-standard" is not enough accurate.
Use only standard fonts
Platform
Main caracteristics
Severity / Remediation Cost
Rule short description
Avoid using non-standard fonts which require to be downloaded on the user's device.
Rule complete description
Text
Avoid using non-standard fonts which require to be downloaded. Prefer the usage of standard fonts, already available on the user's device, allowing to save bandwith while speeding up the display of the site. For example, compliant standard fonts are available here : https://systemfontstack.com/.
HTML
Reference
This rule originates from the 115 best practices ecodesign guide published by Frédéric Bordage/GreenIT.fr. The practice "Favoriser les polices standards" can be found on the following 115 best practices github
Saved ressources
Storage, Network, Requests
Note concerning accessibility
Always check that the font you use is conform to accessibility requirements and best practices. Check the guidelines provided by official references, such as RGAA (Référentiel Général d'Amélioration de l'Accessibilité)
Implementation principle