#2542 closed defect (bug) (fixed)
Support Theme: Add an additional visual cue to links in posts
Reported by: | anevins | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Support Forums | Keywords: | a11y needs-refresh |
Cc: |
Description
When a link is posted within a block of text that link is only distinguishable through colour. The colour contrast between the link text and paragraph text is quite subtle and so links can be difficult to spot. It may also be tricky for people with colour blindness.
Can we add a visual cue as addition to the colour to distinguish the links? Underline works, or bold text for example.
Attachments (5)
Change History (27)
#1
@
8 years ago
- Component changed from General to Support Forums
- Summary changed from Add an additional visual cue to links in posts to Support Theme: Add an additional visual cue to links in posts
#5
in reply to:
↑ 3
;
follow-ups:
↓ 6
↓ 7
@
8 years ago
Replying to SergeyBiryukov:
- meta-2542.underline.patch adds an underline for links in post content: meta-2542.underline.PNG.
- meta-2542.bold.patch makes them bold: meta-2542.bold.PNG.
@mapk: What would you prefer here?
This is difficult. We don't really do this elsewhere in the Support forums do we? So do we make a new style that just affects links within comments within forum posts?
I totally agree that links aren't viewed easily in the comments. So after looking around, I found this.
Link styles are underlined, and @ mentions are in bold... within posts. Let's go with this.
#6
in reply to:
↑ 5
@
8 years ago
Replying to mapk:
Link styles are underlined, and @ mentions are in bold... within posts. Let's go with this.
Fwiw, the other link in that screenshot – the tag – should probably also be bold. Worth fixing wherever that code is and standardizing everywhere.
#7
in reply to:
↑ 5
;
follow-up:
↓ 8
@
8 years ago
Replying to mapk:
Link styles are underlined, and @ mentions are in bold... within posts. Let's go with this.
Thanks! Mentions on the forums don't have a specific class though (unlike P2 mentions with class="mention"
), so we'd need to find and adjust the code that converts them to a link.
@samuelsidler On my local bbPress install, mentions are not linked. Could it be a dotorg-specific plugin that converts them to a link on the forums?
#8
in reply to:
↑ 7
;
follow-up:
↓ 10
@
8 years ago
Replying to SergeyBiryukov:
@samuelsidler On my local bbPress install, mentions are not linked. Could it be a dotorg-specific plugin that converts them to a link on the forums?
bbPress links mentions "out of the box", works fine here for me:
Maybe a bbPress issue with the rexex parsing of the @s7ranger
string /shrug
#9
@
8 years ago
Maybe. But we also have a custom plugin that could be interfering here.
@coffee2code: Can you take a look at wporg-notifications.php
and see if that's related?
#10
in reply to:
↑ 8
@
8 years ago
Replying to netweb:
bbPress links mentions "out of the box", works fine here for me
Indeed, other mentions work as expected on my install too. Thanks :)
#11
@
8 years ago
Ah, bbp_make_mentions_clickable_callback()
only works for existing users of the site, that would explain it.
#14
in reply to:
↑ 12
;
follow-up:
↓ 15
@
8 years ago
Replying to SergeyBiryukov:
meta-2542.patch implements comment:5.
We should probably add a class and make bbp_make_mentions_clickable_callback()
filterable in bbPress core
#15
in reply to:
↑ 14
;
follow-up:
↓ 16
@
8 years ago
Replying to netweb:
We should probably add a class and make
bbp_make_mentions_clickable_callback()
filterable in bbPress core
Sounds good :)
#16
in reply to:
↑ 15
;
follow-up:
↓ 17
@
8 years ago
Replying to SergeyBiryukov:
Replying to netweb:
We should probably add a class and make
bbp_make_mentions_clickable_callback()
filterable in bbPress core
Sounds good :)
I've created #bb3074 for this
#17
in reply to:
↑ 16
@
8 years ago
- Keywords needs-refresh added; has-patch removed
Replying to netweb:
Replying to SergeyBiryukov:
Replying to netweb:
We should probably add a class and make
bbp_make_mentions_clickable_callback()
filterable in bbPress core
Sounds good :)
I've created #bb3074 for this
Default classes and bbp_make_mentions_clickable_classes
filter added in bbPress:changeset:6346
#18
@
8 years ago
Going with meta-2542.patch for now, until bbPress is updated to 2.6 on the forums.
@mapk: What would you prefer here?