- Edited
Keywords: A dynamic glossary for Flarum
- Edited
1.5 (for flarum 1.0)
0.1.7 (for flarum beta 16)
Option that allow to parse words once in a post available
@[deleted] u can try now, it works everything (i hope )
live demo:
https://flarum.it/d/107-test-keywords
Justoverclock thanks a lot! that was damn quick
- Edited
- Edited
I just had a vision. You could replace my old (now defunct) hashtag extension. I retired mine because it just used inner html to replace words starting with a hashtag and it caused a lot of conflicts.
I see with this extension you are using code that can find and replace. You’re using regular expressions... I feel like with some tweaks the code you already have here could find any word that starts with # and turn it into a link that when clicked searches the forum for that keyword.
010101 feel free to fork this, and maybe we could do hashtag extension togheter
[deleted]
- Edited
Justoverclock u can try now, it works everything (i hope
Your work is amazing! I hope that Flarum community is grateful, as I am, for your effort.
I noticed that this box goes offscreen:
- Edited
[deleted]
Justoverclock 0.1.7 (for flarum beta 16)
This version removes/hidea post content (all categories and posts/discussions)... Is it me or it is a glitch, bug?
- Edited
[deleted] can u provide a screenshot?
actually all works fine on my side
here the latest version on flarum.it
https://flarum.it/d/107-test-keywords
Hmm this is a weird one... Our Tooltip library should prevent this happening...
- Edited
davwheat lol, i'm trying everything without success, if u have some times i will appreciate your help
tooltips are my nemesis
must be compatible for beta 16 also, thats the reason i'm using this (also because i like it)
I honestly can't see any reason why this would happen. If I get time, I'll try and clone your ext locally and give it a go on the core master
to see if I can reproduce it
It seems the tooltip is not accessible to a screen reader. See examples here
tuxmain so the only way is to use javascript?
Justoverclock It's a very useful plugin. Thanks a lot my friend.
very good ext ! thank youuu
Justoverclock I've found a method that works, with pure CSS and ARIA, no JS: https://txmn.tk/test-aria.html (tested only with NVDA)
role="button" tabindex="0"
make the word focusable, CSS makes the tooltip appear when the word has focus, and aria-describedby
tells the screen reader that the word has a description. aria-describedby
(or aria-labelledby
) doesn't work when the description/label object is not displayed.
tuxmain never used this ARIA, theres some docs to implement this?