Skip to content

Wrap and shorten long URLs#78

Merged
hugovk merged 2 commits into
python:mainfrom
hugovk:wrap-url
May 17, 2026
Merged

Wrap and shorten long URLs#78
hugovk merged 2 commits into
python:mainfrom
hugovk:wrap-url

Conversation

@hugovk
Copy link
Copy Markdown
Member

@hugovk hugovk commented May 9, 2026

Plain URLs such as https://www.python.org/downloads/release/python-3150b1/ on pages like https://blog.python.org/2026/05/python-3150-beta-1/ don't wrap, meaning there's some annoying horizontal scroll on mobile.

It's also an accessibility issue: https://www.w3.org/WAI/WCAG21/Techniques/css/C33

We can also strip out any leading https:// or http://, and www., to make them a bit shorter.

Before After
image image

@hugovk hugovk mentioned this pull request May 9, 2026
@hugovk hugovk merged commit bb06559 into python:main May 17, 2026
2 checks passed
@hugovk hugovk deleted the wrap-url branch May 17, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants