Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
docs: prefer tooltips over aria-labels
Josh Corbett52e56021a2f6
diff --git a/invokeai/frontend/webv2/AGENTS.md b/invokeai/frontend/webv2/AGENTS.mdindex 4c466bc61b..6ba446667e 100644--- a/invokeai/frontend/webv2/AGENTS.md+++ b/invokeai/frontend/webv2/AGENTS.md@@ -19,6 +19,7 @@ Read [ARCHITECTURE.md](ARCHITECTURE.md) for ownership/interface changes and affe- Migrate effects when changing their behavior, without unrelated sweeps. Identity changes use store/runtime lifecycles or deliberate keyed remounts without accidental state loss.- Reuse Platform controls, Chakra/theme tokens, icons, and interactions; no second styling system or generic Next.js/SWR patterns.- Include disabled states; preserve keyboard operation, visible/restored focus, accessible names, and pointer alternatives.+- Icon-only controls carry the platform `Tooltip`, including menu and popover triggers (share `useTooltipTriggerIds` between the root and the Tooltip); never a native `title`.- Keep dense layouts usable across window sizes/zoom. Check overflow, long/localized text, selected/hover/active states, and themes; follow localization conventions.- Keep interactions immediate and motion restrained, interruptible, and reduced-motion compatible. Specify transition properties; animation must neither delay editing nor be the sole state cue.- Provide visual evidence of browser-inspected flows; browser tests and axe do not replace visual/interaction review.