| Comment | File | Size | Author |
|---|---|---|---|
| #15 | After-patch-appearance-dark-mode-red-color.png | 217.39 KB | djsagar |
| #15 | After-patch-appearance-light-mode-purple-color.png | 221.92 KB | djsagar |
| #15 | Before-patch.png | 223.05 KB | djsagar |
| #11 | After-patch-dotted-line.png | 61.67 KB | preeti.chawla |
| #10 | Screenshot 2023-08-08 at 9.57.56 AM.png | 50.74 KB | snehal-chibde |
Issue fork gin-3378791
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
snehal-chibde commentedI am working on this issue.
Comment #3
snehal-chibde commentedHere is the patch for fixing this issue.
Attached screenshots for reference.
Comment #4
snehal-chibde commentedComment #5
hudriIf I'm reading this patch correctly, it unconditionally styles all <a> tags. Can this be done with a less disruptive and wide-spread selector, e.g. something that tries to target links within running text?
Definitly not be perfect, but
:where(p) a { text-decoration: underline; }ora:where(:not([class])) { text-decoration: underline; }should do it almost everywhere with a specifity of 0-0-1 and less side effects on existing admin UIs.I'm not an accessability expert, but I don't think it is necessary to underline all links everywhere, stuff like
<a class="button">, links in breadcrumbs, links in tabs, links in toolbars, links in table headers, links in views in their own table cell<td><a></td>,.... are all distinguishable without an underline.Comment #6
snehal-chibde commented@hudri sure, will check on this.
Comment #7
mukesh-kumar3 commentedHi i have applied patch for the following issue attached screenshots below. After patch adding underlines also format code in gin.css so that patch applied cleanly. And Issue is now fixed please check.
Comment #8
snehal-chibde commentedThe above patch fails for me, also I have added a patch with a selector which will target all the a tags inside p which does not have any class, as needed as per the comment by @hudri.
Comment #9
bnjmnmI asked @aschaeggi about this on Slack to confirm the approach, since he designed Gin. He said he'd prefer a dotted underline.
Comment #10
snehal-chibde commentedhello @bnjmnm, added dotted underline as per the comment. Here is the updated patch and screenshot.
Comment #11
preeti.chawla commented@snehal-chibde I have reviewed patch #10, applied successfully and dotted line working fine, We can move to RTBC +1
Comment #14
saschaeggiMR !291 is ready to be reviewed
Comment #15
djsagar commentedAfter applied MR !29 is local and it's resolved the issue.
I tested with multiple Accent color in different modes.
Shared attachment for reference.
Thanks!
Comment #17
saschaeggiGreat thanks y'all for your work on this 👏
Comment #19
coaston commented..hm I came here because after update of Gin theme i can see dotted underline links which makes me crazy.
Would be possible to implement that config to theme settings and disable it somehow?
I do really hate it now as for me it is not a feature, but a bug :D :D :D
Comment #20
saschaeggi@coaston we won't add a new setting to override this.
You have options to override styles from Gin but as this makes links inaccessible again I would not recommend doing so.
See https://www.drupal.org/docs/contributed-themes/gin-admin-theme/custom-th...
Comment #21
coaston commentedThank you for you clarification. Will need to accept it.