Describe the Bug
Hyperlinks show the link URL as a tooltip regardless of preference.
Suppress ToolTips for MacroLinks acts on all links, whether they are macro: urls or not.
Tooltips suppressed (default) shows the URL as a tooltip.
The fallback tooltip expects to return the title from a "span" element. With no span it returns the URL as a tooltip. Exactly the same as when it is suppressed.
HTML spec expects the "title" attirbute to be used as a tooltip. Deviating from this probably screws up screen-readers.
To Reproduce
- create a hyperlink with a "title" attribute
- stick it in chat and hover over the result.
- try it with a "lib://" URL
- try it with a "macro://" URL
- try it with a "http://" URL
- try it with a "#id" URL
Expected Behaviour
Both "macro:" and "lib:" formats should be subject to the preference Suppress ToolTips for MacroLinks.
Only "macro:" and "lib:" formats should be subject to the preference Suppress ToolTips for MacroLinks.
Before any weird <SPAN> workarounds, the hyperlink "title" attribute should be used as a tooltip.
Screenshots
No response
MapTool Info
No response
Desktop
No response
Additional Context
No response
Describe the Bug
Hyperlinks show the link URL as a tooltip regardless of preference.
Suppress ToolTips for MacroLinks acts on all links, whether they are macro: urls or not.
Tooltips suppressed (default) shows the URL as a tooltip.
The fallback tooltip expects to return the title from a "span" element. With no span it returns the URL as a tooltip. Exactly the same as when it is suppressed.
HTML spec expects the "title" attirbute to be used as a tooltip. Deviating from this probably screws up screen-readers.
To Reproduce
Expected Behaviour
Both "macro:" and "lib:" formats should be subject to the preference Suppress ToolTips for MacroLinks.
Only "macro:" and "lib:" formats should be subject to the preference Suppress ToolTips for MacroLinks.
Before any weird <SPAN> workarounds, the hyperlink "title" attribute should be used as a tooltip.
Screenshots
No response
MapTool Info
No response
Desktop
No response
Additional Context
No response