You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to change color of individual panel's header-box and text color in the box #699
Is your feature request related to a problem? Please describe.
I want to use iSEE to create a single-cell explorer to deploy at our institute, and we’re working to meet web accessibility compliance (validated with a web accessibility tool ANDI. Since, in our iSEE app the color contrast (background and the text color) in a few panels are not passing the above tool we are failing the deployment.
Describe the solution you'd like
If the panel header-box color (e.g. green color in the panel 'Feature assay plot 1' in the snapshot attached) or the color of the text/panel ID (e.g. 'Feature assay plot 1' in the snapshot) could be modified/changed, it will resolve the problem.
Describe alternatives you've considered
I still could not find any work around to this problem since this feature is hard coded in the iSEE package.
Additional context
Attached is a snapshot of 'Feature assay plot 1'.
Hi Kevin,
Thanks for this quick fix. Actually, there are two panel header-boxes whose colors are not compliant with ANDI, however it suggests the compliant colors:
Feature Assay plot: #488521
Row Data plot: #bf5900
Above background colors will help the text (inside the boxes) meet minimum AA contrast ratio (4.5:1).
BEst,
Ajeet
Actually we were a bit more forward-looking than we remember 🙂, and it is already possible to change the color of the panels - e.g. to set the colors you mention above and assuming that your object is called se, the following should work:
Hi Charlotte,
Great !
thanks for this helpful advice, really appreciate. I also kept trying to
figure out a work around until I came accros an iSEE web page with a
solution as you suggested.
Best,
Ajeet
Activity
kevinrue commentedon Sep 22, 2025
Thanks for pointing this out!
At present, the color of each panel is defined by the panel developer and cannot be changed.
I can imagine a mechanism to parameterise this but I genuinely don't have the time to look into this this week.
It is however a very important consideration for accessibility, and I'm happy to put it high on the priority list.
Thanks, and I hope you won't mind waiting a bit for one of us to look into this at the next opportunity.
Best,
Kevin
kevinrue commentedon Sep 22, 2025
By the way, as a quick fix, any chance you can propose a green colour that your web accessibility tool ANDI is happy with?
We could then simply make that shade of green the default for the panel.
The implementation of a customisable colour scheme could come later, as it would require more work.
ajeetmandal commentedon Sep 22, 2025
Hi Kevin,
Thanks for this quick fix. Actually, there are two panel header-boxes whose colors are not compliant with ANDI, however it suggests the compliant colors:
Above background colors will help the text (inside the boxes) meet minimum AA contrast ratio (4.5:1).
BEst,
Ajeet
csoneson commentedon Sep 28, 2025
Actually we were a bit more forward-looking than we remember 🙂, and it is already possible to change the color of the panels - e.g. to set the colors you mention above and assuming that your object is called
se, the following should work:ajeetmandal commentedon Sep 28, 2025