Skip to content

fix(tooltip): complete behavior and accessibility - #236

Open
tbielich wants to merge 5 commits into
mainfrom
fix/tooltip-accessibility-behavior
Open

fix(tooltip): complete behavior and accessibility#236
tbielich wants to merge 5 commits into
mainfrom
fix/tooltip-accessibility-behavior

Conversation

@tbielich

Copy link
Copy Markdown
Owner

Summary

  • add configurable tooltip show delay
  • add placement-aware arrow rendering
  • generate or accept a stable tooltip ID
  • connect the trigger through aria-describedby
  • synchronize aria-hidden for hover, focus, blur, and Escape
  • update macro and documentation
  • add contract-level unit coverage

Issue

Closes #35

Boundaries

  • no Table changes
  • no Popover behavior
  • tooltip content remains non-interactive

Validation

  • all four placements retain support
  • default delay is 300 ms and can be overridden
  • trigger receives aria-describedby
  • tooltip exposes role="tooltip" and synchronized aria-hidden
  • Arrow, delay, macro, and accessibility contracts are covered by tests

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.

Component: Tooltip

1 participant