Skip to content

Conversation

@fisher-alice
Copy link

@fisher-alice fisher-alice commented Feb 10, 2026

Follow-up to #412 (comment).
To improve a11y on fish levels, the toggle button was refactored into two buttons so that it is now keyboard-navigable and screenreader compliant.

Prior to this update, the toggle button switched back and forth between displaying matching and non-matching fish sets.
Because the button as been refactored into two buttons, we update so that if a user selects the Checkmark button, the matching fish set is displayed and if the user selects the Banned button, the non-matching fish set is displayed, even if the buttons are selected multiple times.

Before update

toggle-button-current.mov

After update

On level without info button:

after-toggle-button.mov

On level with info button:

after-with-info.mov

return;
}

// No-op if already showing the desired fish set (matching or non-matching).
Copy link
Contributor

Choose a reason for hiding this comment

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

My one thought is to combine this early return with the one above. And maybe this comment could be consolidated to "Pond fish are those that match (belong in the pond), whereas recall fish do not."

Copy link
Author

Choose a reason for hiding this comment

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

Nice - will update!

@fisher-alice fisher-alice requested review from a team, breville and hannahbergam February 10, 2026 18:27
Copy link
Contributor

@hannahbergam hannahbergam left a comment

Choose a reason for hiding this comment

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

Thanks Alice!

This reverts commit ab7ee32.

trainer.train();

const details = trainer.detailedExplanation(trainingOcean[0].fieldInfos);
Copy link
Contributor

Choose a reason for hiding this comment

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

I know you already reverted this- I do think it would be worth deflaking in the future but I was always able to get a passing build (dorsalFins test passing included) with a rerun

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