GNOME Bugzilla – Bug 113649
themable colors for hyperlinks
Last modified: 2006-01-24 00:22:09 UTC
Hyperlinks are becoming pretty common in desktops. It would probably be good to provide gtk rc file theming for unvisited and visited link colors. I imagine this will be needed in GtkAbout if it supports hyperlinking. Currently most apps just hardcode the colors to blue and red which is probably bad for a11y, though i'm not sure.
*** Bug 125288 has been marked as a duplicate of this bug. ***
yes, it's an accessibility problem all right. For some users this will make links nearly invisible (depending on contrast and their color vision, etc.).
Attaching a patch where I am installing gtkwidget class style properties for visited and unvisited link colors.
Created attachment 26496 [details] [review] patch which fixes the bug
Comment on attachment 26496 [details] [review] patch which fixes the bug Compare handling of cursor-color in gtkwidget.c for correct property type.
Created attachment 26577 [details] [review] patch with suggested changes
Comment on attachment 26577 [details] [review] patch with suggested changes Is this ready to be committed?
This is more than an accessibility issue for people with color vision problems. This bug affects all the existing dark GTK themes and some are pretty popular (you get dark blue links on dark backgrounds and other stuff like that). Apps like Evolution, Mozilla Mail, Thunderbird and pretty much any GTK+ application that uses links in gtk widgets is affected. Others (like Balsa) have custom preferences for link colors, Gaim is also pretty cool with GtkIMHtml. But the solution is the hands of the GTK+ developers. Please solve this once and for all...
Apologies for spam-- ensuring Sun a11y team are cc'ed on all current a11y bugs. Filter on "SUN A11Y SPAM" to ignore.
The gtkaboutdialog installs a 'link-color' style property, so when this is checked in it should be chanaged to use it. Also bug 314808 can use this.
2006-01-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c: Add link-color and visited-link-color style properties. (#113649, Leena Gunda) * gtk/gtkaboutdialog.c: Use the new style properties here instead of the about dialogs own link-color property.