Open chrisgrieser opened 2 years ago
Dataview doesn't add aria-label
explicitly, it just defaults to whatever Obsidian does, which appears to add the label - does this work with normal (non-Dataview) links?
Have a look here. Normal wikilinks do not have any tooltip, while the ones from dataview do.
I saw this locally as well; this is pretty wierd, since I use MarkdownRenderer#renderMarkdown
, which is an Obsidian API call. The best I could do here is to special-case link rendering and try to manually delete the fields if I see them, though it won't work in all cases.
Is your feature request related to a problem? Please describe. When using the Supercharged Links Plugin, you can use some CSS trickery to basically create custom tooltips. However, this conflicts when the links are generate by dataview, since they automatically get a tooltip already (via
aria-label
).Describe the solution you'd like A simple toggle to stop dataview from assigning aria-labels to links would solve this.
Describe alternatives you've considered Removing tooltips via CSS, but as far as I can tell, you can only remove tooltips entirely in Obsidian, which isn't really desirable.
Additional context I know this is a bit of a niche case, but I assume turning of aria labels isn't hard to implement, so I hope this gets implemented as it's a low-hanging fruit 🙏