Skip to content

Refine BasicDashboard tooltips and styling#35

Open
wwydmanski wants to merge 1 commit intomainfrom
codex/reduce-text-display-to-tooltips-354nb4
Open

Refine BasicDashboard tooltips and styling#35
wwydmanski wants to merge 1 commit intomainfrom
codex/reduce-text-display-to-tooltips-354nb4

Conversation

@wwydmanski
Copy link
Contributor

Summary

  • update InfoTooltip to use short inline text triggers with optional aria labels
  • revise BasicDashboard copy to surface concise prompts while keeping details in tooltips
  • restyle tooltip triggers with dotted underlines to match the new interaction pattern

Testing

  • npm run build

https://chatgpt.com/codex/tasks/task_e_68e15ed36f5883318a5759fdb5c2f465

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

aria-describedby={expectedPensionHintId}
/>
<small id={expectedPensionHintId} className="zus-field__hint">
<small id={expectedPensionHintId} className="visually-hidden">
Copy link

Choose a reason for hiding this comment

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

Bug: Tooltip Nesting Violates Semantics

The InfoTooltip button is incorrectly nested within the "Oczekiwana emerytura" input's <label>, violating HTML semantics and potentially causing unpredictable behavior. This tooltip also duplicates the input's aria-describedby hint, causing screen readers to announce the same information twice and creating a redundant user experience.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant