You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rustdoc: use browser-native tooltips for code and notable hover
This is the simplest way to adopt the timing guidelines described
in <https://www.nngroup.com/articles/timing-exposing-content/>.
It replaces the mouseover interactions used for "tooltip" popovers
with HTML `title` attributes, which already do the right thing.
The JavaScript-based popover code remains for click interaction, so
that these elements remain accessible on touch screens, and because
it's not possible to put links in native tooltips.
<ahref="#" title="Notable traits for Wrapper<()> impl<T> SomeTrait for Wrapper<T> type SomeType = T" class="tooltip" data-notable-ty="Wrapper<()>">ⓘ</a>
0 commit comments