This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: visited-link styling is not accessible
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.4, Python 3.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: berker.peksag Nosy List: berker.peksag, bukzor, docs@python, georg.brandl, ned.deily, python-dev
Priority: normal Keywords: patch

Created on 2014-10-24 19:53 by bukzor, last changed 2022-04-11 14:58 by admin. This issue is now closed.

File name Uploaded Description Edit
link-color.patch bukzor, 2014-10-24 20:14
Messages (6)
msg229952 - (view) Author: Buck Evan (bukzor) * Date: 2014-10-24 19:53
The color needs adjusted such that it has at least 3:1 luminance contrast versus the surrounding non-link text. (See "non-inheritable"

See also:

Given that the surrounding text is #222, the a:visited color should be bumped from #30306f to #6363bb in order to meet the 3:1 luminance-contrast guideline while preserving the hue and saturation.

By the same calculation, the un-visited links are slightly too dark and should be bumped from #00608f to #0072aa

Validation was done here:

Luminance adjustments done here:
msg229954 - (view) Author: Buck Evan (bukzor) * Date: 2014-10-24 20:14
Proposed patch attached.
msg229955 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2014-10-24 20:32
+1  It's a fairly subtle change but definitely an improvement IMO (as viewed with vanilla Safari and Firefox settings on OS X).
msg229957 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2014-10-24 20:48
Sounds good to me.
msg229974 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-10-25 02:20
New changeset a3481025a742 by Berker Peksag in branch '3.4':
Issue #22723: Make link styling more accessible.

New changeset 56e87f2c6d3c by Berker Peksag in branch 'default':
Issue #22723: Make link styling more accessible.
msg229975 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2014-10-25 02:21
Thanks for the patch, Buck.
Date User Action Args
2022-04-11 14:58:09adminsetgithub: 66912
2014-10-25 02:21:27berker.peksagsetstatus: open -> closed
resolution: fixed
2014-10-25 02:21:08berker.peksagsetversions: + Python 3.4, Python 3.5
messages: + msg229975

assignee: docs@python -> berker.peksag
type: enhancement
stage: resolved
2014-10-25 02:20:04python-devsetnosy: + python-dev
messages: + msg229974
2014-10-24 20:48:20georg.brandlsetmessages: + msg229957
2014-10-24 20:41:05berker.peksagsetnosy: + georg.brandl, berker.peksag
2014-10-24 20:32:10ned.deilysetnosy: + ned.deily
messages: + msg229955
2014-10-24 20:14:49bukzorsetfiles: + link-color.patch
keywords: + patch
messages: + msg229954
2014-10-24 19:53:20bukzorcreate