Details
-
Bug
-
Resolution: Fixed
-
Major
-
15.2
Description
Livedata colors in the .vue templates are for the most part hard-coded.
See those examples
- https://github.com/xwiki/xwiki-platform/blob/556e7823260b826f344c1a6e95d935774587e028/xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-webjar/src/main/vue/displayers/DisplayerLink.vue#L120
- https://github.com/xwiki/xwiki-platform/blob/a4b20d225b2dad4416aede08736d1fbeec36771e/xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-webjar/src/main/vue/LivedataEntrySelectorInfoBar.vue#L79
This is an infringement to a CSS Code Style rule
don't hard code colors in properties - use ColorTheme variables
Any livedata table uses these styles.
This results in WCAG violations on the contrast rule on some themes.
Attachments
Issue Links
- is related to
-
XWIKI-20750 Contrast issue on livedata pagination
- Closed
- relates to
-
XWIKI-18270 Live Data macro styles don't use the color theme
- Closed