the Title input contradicts the HTML global `title` attribute
See original GitHub issueDescribe the bug
ngx-joyride is using the title
input for the step title. This contradicts the HTML global title
attribute which results in showing a tooltip over the content of the step which can be annoying for large areas.
To Reproduce Steps to reproduce the behavior:
- Hover over an element that has a
joyrideStep
directive. (without the tour guide being active). - The browser will show a tooltip for that element.
Expected behavior
Not show the default browser tooltip for the element that uses joyrideStep
Screenshots If applicable, add screenshots to help explain your problem.
Details:
- Browser: Any
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
title - HTML: HyperText Markup Language - MDN Web Docs
The title global attribute contains text representing advisory information related to the element it belongs to.
Read more >HTML Global title Attribute
The title attribute specifies extra information about an element. The information is most often shown as a tooltip text when the mouse moves...
Read more >Using the HTML title attribute - updated March 2020
The HTML title attribute is problematic. It is problematic because it is not well supported in some crucial respects, even though it has...
Read more >html - How to change the style of the title attribute inside an ...
For this, I'd use a data-title attribute. data-* attributes are a method to store custom data in DOM elements/HTML. There are multiple ways...
Read more >The Title Attribute and Why It's Almost Useless | Blog
The HTML title attribute is problematic. It is problematic because it is not well supported in some crucial respects, even though it has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The problem is in the input name itself, it’s a bad decision to name a directive input with standard name like “title”. What if I’d like to keep the default title attribute behavior? Author should consider an API change. Use prefixes, just like Angular devs recommend in the docs…
@tnicola this is an actual problem!