Tooltips provide simple text hints for UI controls and must contain only descriptive text. They should use the `aria-labelledby` or `aria-describedby` attributes for accessibility, depending on their purpose. Tooltips should not include interactive content and must be accessible through hover or focus actions. For touch devices, alternatives like Toggletips or integrating the descriptive text in the design are recommended.

5m read timeFrom css-tricks.com
Post cover image
Table of contents
What are tooltips?Two kinds of tooltipsAdditional tooltip dos and don’tsTooltip limitations and alternativesFurther reading
1 Comment

Sort: