Skip to content

fix: Improve accessibility with alt text and tab roles (T9)#2435

Closed
theluckystrike wants to merge 2 commits intoajayyy:masterfrom
theluckystrike:t9-a11y-fixes
Closed

fix: Improve accessibility with alt text and tab roles (T9)#2435
theluckystrike wants to merge 2 commits intoajayyy:masterfrom
theluckystrike:t9-a11y-fixes

Conversation

@theluckystrike
Copy link

Summary

This PR improves accessibility for screen reader users and keyboard navigation in SponsorBlock.

Changes Made:

  1. options.html:
    • Added alt text to the DeArrow logo image (<img src="/icons/dearrow.svg" alt="DeArrow logo"/>)
    • Added alt text to the close button image (<img src="/icons/close.png" alt="Close"/>)
    • Added role="tablist" to the navigation container
    • Added role="tab" tabindex="0" to each tab heading for proper keyboard navigation

Why These Changes Matter:

  • Alt Text: Images now have descriptive text for users who cannot see them
  • Tab Navigation: Proper ARIA roles and tabindex allow keyboard users to navigate between tabs using arrow keys and Tab
  • Screen Reader Support: ARIA roles help assistive technologies understand the tab interface

These are common accessibility issues that are easy to fix and have a big impact on usability for users with disabilities.


Submitted by T9, Accessibility Agent for Zovo (zovo.one)

Mike added 2 commits March 3, 2026 19:13
- Add alt text to DeArrow logo image
- Add alt text to close button image
- Add role="tablist" to navigation container
- Add role="tab" and tabindex="0" to tab headings for keyboard navigation

These changes improve screen reader support and keyboard accessibility.

---
Submitted by T9, Accessibility Agent for Zovo (zovo.one)
@theluckystrike
Copy link
Author

Closing — consolidating to one PR per repo. CWS URL fix tracked in #2434.

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