Skip to content

Conversation

Ovgodd
Copy link
Collaborator

@Ovgodd Ovgodd commented Jul 28, 2025

Purpose

Improve text accessibility by enhancing the contrast of links on colored backgrounds.

issue 1171

Proposal

  • Changed link color from greyscale-500 to greyscale-600 to make it easier to read on colored backgrounds as suggested in the issue
    .

  • Tried to fix the case where text color === background color (like red on red) using CSS overrides.

  • But it didn’t work, because BlockNote.js uses inline styles that are too strong to override.

  • We may need to fix this directly inside BlockNote.js to allow better control of contrast for colored texts.l

External contributions

Thank you for your contribution! 🎉

Please ensure the following items are checked before submitting your pull request:

  • I have read and followed the contributing guidelines
  • I have read and agreed to the Code of Conduct
  • I have signed off my commits with git commit --signoff (DCO compliance)
  • I have signed my commits with my SSH or GPG key (git commit -S)
  • My commit messages follow the required format: <gitmoji>(type) title description
  • I have added a changelog entry under ## [Unreleased] section (if noticeable change)
  • I have added corresponding tests for new features or bug fixes (if applicable)
link

@Ovgodd Ovgodd mentioned this pull request Jul 28, 2025
7 tasks
@Ovgodd Ovgodd force-pushed the fix/link-contrast-editor branch from 6d5a4de to 8e301df Compare July 28, 2025 14:33
Ovgodd added a commit that referenced this pull request Jul 28, 2025
updating Changelog.md with accessibility improvement
@Ovgodd Ovgodd force-pushed the fix/link-contrast-editor branch from 4e4d051 to 4d4665d Compare July 28, 2025 14:48
Ovgodd added a commit that referenced this pull request Jul 28, 2025
updating Changelog.md with accessibility improvement
@Ovgodd Ovgodd force-pushed the fix/link-contrast-editor branch from 4d4665d to 8ace624 Compare July 28, 2025 14:52
Ovgodd added a commit that referenced this pull request Jul 28, 2025
updating Changelog.md with accessibility improvement
@Ovgodd Ovgodd force-pushed the fix/link-contrast-editor branch from 8ace624 to e056a6c Compare July 28, 2025 14:57
Ovgodd added a commit that referenced this pull request Jul 28, 2025
updating Changelog.md with accessibility improvement
@Ovgodd Ovgodd force-pushed the fix/link-contrast-editor branch from e056a6c to 5cd7909 Compare July 28, 2025 15:22
@Ovgodd Ovgodd requested a review from AntoLC July 28, 2025 15:23
Updated anchor link color from greyscale-500 to greyscale-600
Ovgodd added a commit that referenced this pull request Jul 28, 2025
updating Changelog.md with accessibility improvement
@Ovgodd Ovgodd force-pushed the fix/link-contrast-editor branch 2 times, most recently from 04b66ae to 7021c0f Compare July 28, 2025 16:07
updating Changelog.md with accessibility improvement
Copy link
Collaborator

@AntoLC AntoLC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AntoLC AntoLC linked an issue Jul 29, 2025 that may be closed by this pull request
@Ovgodd Ovgodd merged commit 7021c0f into main Jul 29, 2025
20 of 21 checks passed
@Ovgodd Ovgodd deleted the fix/link-contrast-editor branch July 29, 2025 08:26
Ovgodd added a commit that referenced this pull request Jul 29, 2025
Add a note in the changelog to document frontend accessibility improvements

Signed-off-by: Cyril <c.gromoff@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Link contrast color
2 participants