Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-PALETTE-002

Every edit bar button shows the slide-in tooltip

While a block editor is open, the extension SHALL give every button of its edit bar the data-tooltip attribute with the text of its title, so that hovering or focusing the button shows the same sliding tooltip bubble as the floating toolbar.

Part of StRS-MDOKFSTUDIO-PALETTE-019, outside the paths drawn on its map.

Scenarios 2

The situations the tests check; open one to read it.

nominalHovering a button
Givena paragraph editor open with its edit bar
Whenthe pointer rests on the Horizontal rule button
Thenthe button carries data-tooltip "Horizontal rule" and a bubble with that text slides in under it within 100 ms, as under a floating toolbar button
boundaryShortcut in the tooltip
Giventhe edit bar of a paragraph editor
Whenthe buttons are built
Theneach data-tooltip equals the title of its button, including the shortcut in parentheses (for example "Bold (Ctrl+B)") and the title stays for the accessible hint

Implemented in 3

Tested by 3