- Issue created by @bnjmnm
- 🇮🇳India snehal-chibde
Here is the patch for fixing this issue.
Attached screenshots for reference. - Status changed to Needs review
over 1 year ago 9:32am 3 August 2023 - 🇦🇹Austria hudri Austria
If 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. - 🇮🇳India mukesh-kumar3 Dharmshala
Hi 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.
- 🇮🇳India snehal-chibde
The 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.
- 🇺🇸United States bnjmnm Ann Arbor, MI
I asked @aschaeggi about this on Slack to confirm the approach, since he designed Gin. He said he'd prefer a dotted underline.
- 🇮🇳India snehal-chibde
hello @bnjmnm, added dotted underline as per the comment. Here is the updated patch and screenshot.
- 🇮🇳India Preeti.chawla
@snehal-chibde I have reviewed patch #10, applied successfully and dotted line working fine
- First commit to issue fork.
- @saschaeggi opened merge request.
- Status changed to RTBC
over 1 year ago 6:31am 22 August 2023 - 🇮🇳India djsagar
After 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!
-
saschaeggi →
committed 89da1500 on 8.x-3.x
Issue #3378791: WCAG A violation: links must be distinguishable without...
-
saschaeggi →
committed 89da1500 on 8.x-3.x
- Status changed to Fixed
over 1 year ago 2:56pm 25 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 10:39am 13 September 2023 - 🇸🇰Slovakia coaston
..hm I came here because after update of Gin theme i can see dotted underline link which makes me crazy.
Would be possible to implement that config to theme seetings and disable it somehow ? I do really hate it now :D
- 🇨🇭Switzerland saschaeggi Zurich
@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... →
- 🇸🇰Slovakia coaston
Thank you for you clarification. Will need to accept it.