-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve TagIt's keyword separator character interference (Arabic/Cyrillic) #4208
Comments
(https://select2.org/ seems popular...) |
Select2 is popular but my understanding is that it has accessibility issues. I doubt Tag-it is any better, though. Eventually we will phase out Tag-it as forms move to Vue.js, where we'll use an autosuggest that attempts to be WCAG compliant. |
This #1550 is very much connected to this issue. |
If accessibility is an issue, I was not able to find a library that completely addresses it. For example, the libraries and associated issue: Select2, tag-it, SelectWoo and others. awesomplete is nice and lightweight, I couldn't find any open issues on accessibility in its repo but doesn't solve everything we want, at least doesn't have the UI we are used to in tag-it and select2. If we are moving to Vue anyways, we can wait for it. To address some other issues like this and this in tag-it, there is a hack around it that we can implement before we move to Vue.js. Although select2 has a built-in solution for it. Any further thoughts? |
Personally, I am tempted to just wait until we make it obsolete with the Vue.js forms. But if you or someone wants to do a quick swap in the meantime to something better I have no objections. It would also be possible to turn each tag-it field into a little Vue.js app that loads https://github.com/Educents/vue-autosuggest. But, again, we might be bending over backwards for something that will be replaced before too long. |
@NateWr, I think tag-it is currently broken since the JQueryUI upgrade, no? |
Oh I didn't realize! In that case, we do need to replace it. 😂 @jamshidhashimi I'd say choose the one with the API you like the best and bring it in, ideally if it can be integrated through the |
+1 for fixing this in tag-it, if in the long it will be replaced anyway (thinking of myself of course since I have a plugin that hooks into tag-it autosuggest...) |
On compatibility with JQuery 3.x: On resolving the issues available: On supporting commas in all languages: Any thoughts? |
I would say go ahead and make the change in the tag-it library for
Yeah, let's avoid trying to maintain something like that ourselves. We'll address issues as they arise. |
(ps - great research and thanks for the explanation!) |
@NateWr, would you mind reviewing this one? Thanks! |
@jamshidhashimi It looks like you've closed that PR. Is there an active one you want me to look at? |
Looks good @jamshidhashimi. I'm happy to merge this. Can you set up an OJS pull request just to run the tests? I just want to make sure we don't break anything there. |
…rabic and Cyrillic" This reverts commit 369c9a9.
…h Arabic and Cyrillic
@NateWr submitted the pkp/ojs#2224 for test in OJS. All tests are have passed. |
…nd Cyrillic" This reverts commit 6eca02a.
Merged! Thanks @jamshidhashimi. |
Tag-it has several problems...
Evaluate possible replacements, choose one, and implement!
The text was updated successfully, but these errors were encountered: