Skip to content

Wrap and shorten long URLs#78

Open
hugovk wants to merge 2 commits intopython:mainfrom
hugovk:wrap-url
Open

Wrap and shorten long URLs#78
hugovk wants to merge 2 commits intopython: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
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.

1 participant