Skip to content

Ensure tab links conform to WCAG 2.1 AA guidelines (PP-3575)#192

Merged
PoorBillyPilgrim merged 1 commit intomainfrom
PP-3575
Feb 4, 2026
Merged

Ensure tab links conform to WCAG 2.1 AA guidelines (PP-3575)#192
PoorBillyPilgrim merged 1 commit intomainfrom
PP-3575

Conversation

@PoorBillyPilgrim
Copy link
Contributor

@PoorBillyPilgrim PoorBillyPilgrim commented Feb 4, 2026

Description

Tab links throughout the app were provided href values of javascript:void(0) to prevent navigation. These void calls were replaced with identifiers that reference actual sections within the app.

Motivation and Context

Using javascript:void(0) calls provide a poor experience for users as they provide no indication that a real destination exists for the link within the document. Ideally, we would make these elements buttons, but we are currently constrained by react-bootstrap and how it implements tabs. The alternatives: 1) remove the event.preventDefault() and the tabs will navigate appropriately, but this causes a full page reload every time by react-router, or 2) swap the links with buttons, but this would break much of the functionality and visual styling.

PP-3575

How Has This Been Tested?

Manually tested that the tabbing still works as intended.

Checklist:

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

@PoorBillyPilgrim PoorBillyPilgrim requested a review from a team February 4, 2026 15:21
Copy link
Contributor

@tdilauro tdilauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 🥇

@PoorBillyPilgrim PoorBillyPilgrim merged commit db78ca3 into main Feb 4, 2026
1 check passed
@PoorBillyPilgrim PoorBillyPilgrim deleted the PP-3575 branch February 4, 2026 18:39
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