Replies: 11 comments
-
I don’t think it is. Some style manuals use underlining for titles of works. Update: to clarify I’m thinking of pre-existing works. |
Beta Was this translation helpful? Give feedback.
-
That is a very pre-web convention. On a typewriter, an underline is/was intended to represent italics (in a situation where obviously there was no facility for an italic font face). I have not seen that as a style in an electronic style guide. In the context of web content, many rich text editors don't even offer underline as a separate style anymore. |
Beta Was this translation helpful? Give feedback.
-
I would say no, not a failure of 3.2.4. There are no mentions or examples of this (at the time of writing WCAG 2.0 fairly common) scenario in the understanding or techniques. If the intention was to cover this, it was not clear. It seems to focus on text labels and text alternatives, not visual presentation. As a side note, 3.2.4 has always been a bit...unfocused as an SC...I think in all my years auditing, i've only felt it appropriate to fail something under it a handful of times. |
Beta Was this translation helpful? Give feedback.
-
I think we can agree that we don't want people using underline for non-link content? |
Beta Was this translation helpful? Give feedback.
-
This sounds, taking a big step back (away from specific "underline or not" and getting to the core of the issue), more like a WCAG 3 potential issue about visual consistency, visually conveying UICs in a way that they can't be confused with static content, or similar. |
Beta Was this translation helpful? Give feedback.
-
I am not sure we want underlining to forever forward only be used for links. Underlining has other semantic meanings and we should not deny them. Links are usually underlined and color -- but even when not color - underlined text usually looks different than a link - and it is easy to discover it is not a link. There is no accessibility barrier to underlining things that are not links -- so we have no business making rules about it I don't think. |
Beta Was this translation helpful? Give feedback.
-
You will cause a constitutional crisis in the UK if you prohibit the use of underlines for non-link text. Governments use an underlining convention to convey the degree to which they require their MPs to follow the party line when voting on bills. A "one line whip" is the weakest, while a "three line whip" makes toeing the party line mandatory. They literally underline the text one, two or three times as shown at https://x.com/alexwickham/status/1127917318586163200. As a more general principle, I view the underlining of non-link text as a usability issue that affects everyone. It's essentially the same as when inline links are styled identically to the surrounding non-link text, which we are all agreed is not a WCAG non-conformance. SC 3.2.4 uses the word "identify" in terms of the label or accessible name, not in terms of what a component looks like. I agree that testers rarely report non-conformances but I think this is because they are just testing what is in front of them rather than thinking about consistency throughout a website. I have seen plenty of websites that use words like Submit, Search, Go and Next randomly for the same function. When user testing a multi-stage hotel booking system, I saw a highly proficient screen reader user completely stumped because each stage contained a Next button, except the final stage, which had a "Book a Room" button. I expect few testers would have reported this. |
Beta Was this translation helpful? Give feedback.
-
Depending on context, using underlines for both links and non-link text can be a failure of 1.4.1 Use of Color. It's like the problem with bold text shown in #4048. |
Beta Was this translation helpful? Give feedback.
-
Since links are programmatic — it is not just color alone that is used to indicate the link. so I do not think it is a failure of 1.4.1
Gregg
… On Jun 24, 2025, at 8:36 AM, Mitchell Evan ***@***.***> wrote:
mitchellevan
left a comment
(w3c/wcag#4459)
<#4459 (comment)>
Depending on context, using underlines for both links and non-link text can be a failure of 1.4.1 Use of Color. It's like the problem with bold text shown in #4048 <#4048>.
—
Reply to this email directly, view it on GitHub <#4459 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACNGDXX6DWY426UCKR2ZFF33FFV7HAVCNFSM6AAAAAB7ZJGKN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAMBQHE4TAOBTGY>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
"programmatic" or not has no bearing on "visual" success criteria. how is the underlying plumbing relevant to whether or not a user can visually see/distinguish things? please... |
Beta Was this translation helpful? Give feedback.
-
That is correct. But when it is programmatic like that -- the browser changes the cursor and that is visual. That does require action on the part of the user though. So I can see why this being called either way. But we don't want to (can't really) outlaw underlining since it is required in many government regulations I understand. Need to be clearer in WCAG3 on this. Also - we need to define 'color' better. The issue about not using color alone is ambiguous. if the lightness / darkness is different than it should count even if the same "color" (e.g. pink and red are different to a colorblind person) Need to be clearer in WCAG3 on this too. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm assuming folks would agree that some text in a body of text that appears with an underline underneath it is a problem, primarily because a user may think the underlined content is a text link.
I've previously cautioned anyone about doing this. But my question is: is it actually a WCAG failure?
I'm sharing a screenshot I found in a chat interaction, where some text is underlined to emphasize test phrases that could be used. The text is otherwise the same as other text (no colour difference).
Even without added colour, they look like links.
Obviously in a scenario where someone used coloured underlined text to distinguish links from this black underlined text, that would be a failure of Use of Color. But here, there is no colour.
I'm tempted to try applying it against Consistent Identification, but while I think with a bit of creative interpretation I can make the normative language apply, I do not think that was the intended scope of the SC.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions