w3c / tr-design

CSS used by W3C specs (this repo is not about the w3.org/TR index page)
https://w3c.github.io/tr-design/src/README
Other
64 stars 29 forks source link

Links within `ins` elements cannot be distinguished visually #325

Closed daniel-montalvo closed 1 year ago

daniel-montalvo commented 1 year ago

Underlining insertions of text using <INS> makes it hard to find links that are on the inserted text, as you cannot visibly see any difference in the underline. See the screen shot below for the WCAG2ICT WG Note, where the the exception text has links on "user agent" and "software" but not on "or".

Would it be possible for us to tweak the styling applied for ins elements so that there is a clear visual distinction of links within inst elements?

fantasai commented 1 year ago

We could use a dashed underline style for insertions, would that help?

maryjom commented 1 year ago

@fantasai I think that is worth a try for sure.

daniel-montalvo commented 1 year ago

Thank you very much.

+1 for that @fantasai

fantasai commented 1 year ago

@daniel-montalvo OK, this is now deployed on w3.org; closing out the issue. :) File a new one if there's a problem~

maryjom commented 1 year ago

@daniel-montalvo @fantasai I've no idea how this formatting change gets propagated into the WAI documents or if there's something incorrect in the code change, but the dotted underline still isn't present in my recently built file. The text still appears with a solid underline. Here's a link to an example where it's used definition of target