Styling of hyperlinks in content relies on color only (a11y) #4597

Closed
opened 2026-02-05 09:06:43 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @JocelynDelalande on GitHub (Apr 10, 2024).

Describe the Bug

In default style, hyperlinks are distinguishable from regular text only by color, which is not enough and problematic from an accessibility standpoint (think colorblind).

Note that in info boxes, there is underlining on links.

Underlining on hover is not enough.

image

Steps to Reproduce

image

Expected Behaviour

underline links in content column.

Screenshots or Additional Context

Workaround (as bookstack admin)

Add a <style> tag in Settings / Customization with the following content:

#tinymce main.content-wrap.card a,
 .page-content a {
 text-decoration: underline;
}

Browser Details

No response

Exact BookStack Version

v23.08.3

Originally created by @JocelynDelalande on GitHub (Apr 10, 2024). ### Describe the Bug In default style, hyperlinks are distinguishable from regular text only by color, which [is not enough and problematic from an accessibility standpoint](https://www.a11yproject.com/checklist/#ensure-that-links-are-recognizable-as-links) (think colorblind). Note that in info boxes, there is underlining on links. Underlining on hover is not enough. ![image](https://github.com/BookStackApp/BookStack/assets/429633/2860b6ce-5344-4064-8c44-98686b20135d) ### Steps to Reproduce ![image](https://github.com/BookStackApp/BookStack/assets/429633/d931b754-2504-40e7-8b30-4034826e5d89) ### Expected Behaviour underline links in content column. ### Screenshots or Additional Context Workaround (as bookstack admin) Add a `<style>` tag in Settings / Customization with the following content: ```css #tinymce main.content-wrap.card a, .page-content a { text-decoration: underline; } ``` ### Browser Details _No response_ ### Exact BookStack Version v23.08.3
OVERLORD added the 🐛 Bug📖 Docs Update🎨 Design A11y labels 2026-02-05 09:06:43 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4597