The Interest Invoker API in Chrome 139 facilitates the creation of tooltips, hover menus, and hover cards using simple HTML elements. Developers can create interactive UI components, making them declarative and responsive to hover events without additional JavaScript. The elements include triggers such as links, buttons, and images that reference their corresponding targets via the 'interestfor' attribute. Accessibility is prioritized, ensuring the proper hints are automatically included in the design. This innovation aims to streamline user interactions and improve overall web accessibility.
The Interest Invoker API allows developers to create tooltips, hover menus, and other UI elements using declarative HTML, enabling hover-triggered interactions without JavaScript.
Using the Interest Invoker API, the trigger element has an 'interestfor' attribute that references the ID of the element displaying the additional information.
The proposed Interest Invoker API is being experimented with in Chrome 139, focusing on enhancing accessibility and user interaction through hover events.
Hover-triggered UIs, such as popovers, are built in a way that integrates important accessibility hints, making them user-friendly across touch and non-touch devices.
Collection
[
|
...
]