Skip to content

Improve RSS feed accessibility#80

Open
yanthomasdev wants to merge 1 commit intorailwayapp:mainfrom
yanthomasdev:rss-a11y
Open

Improve RSS feed accessibility#80
yanthomasdev wants to merge 1 commit intorailwayapp:mainfrom
yanthomasdev:rss-a11y

Conversation

@yanthomasdev
Copy link

@yanthomasdev yanthomasdev commented Jan 9, 2026

This PR changes the RSS feed from an button to a link for better semantic, increases the outline offset, and adds screen reader-only text to comply with Success Criterion 1.1.1 (Non-text content).

Before (focused) After (focused)
image image

I assume it was a button with window.open() before to open it in a new tab. This can be replicated with target="_blank" rel="noopener noreferrer" instead. I haven't done so since it's generally a bad practice to take control over this from the user, but we can change if there's a reason to.

These changes were tested manually with NVDA on Windows. For reference, before the element was announced as "button", and with the changes, "rss feed, link".

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