-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
Native Dendron Panel #728
Comments
Just stumbled across this tool and loving it :) |
@zersiax - will take you up on this :) By going native, we really only mean adding another panel within vscode. It seems like vscode integrates pretty well with the screen reader by default but it really would be helpful for you to take a look and file issues as you find them for accessibility :) Our goals align quite well because we want Dendron to be used as much as possible purely with the keyboard/shortcuts. |
It does :) Particularly with trickier UI patterns like treeviews, autocompleting lists etc., the keyboard aspect is one half of the puzzle. The other half is making sure the screenreader understands what to say when, e.g., an autocomplete form field won't do an SR user much good if the suggestions aren't announced, even if it's fully keyboard-accessible :) |
Hey @zersiax We have our first native web view component live. Instructions to setup are here. Would love to get your thoughts on it and how we can improve, accessibility wise. This view is build using Antd Design |
There ...really is no gentle way to say this :) This component would, perhaps, have been ok-ish for a one-off thing on some obscure website I have to visit on a relatively normal thursday afternoon. For something like Dendron, however, it's currently practically unusable, and that mostly has to do with the way this component has been implemented. What works?Currently, very little. I can see the treenodes, but only in what is known as a screen reader's browse mode, which is used to read longform web content, not to use web applications. what does not work?Screenreaders don't know this is a treeview. That is the main issue. They don't know it's a treeview because rather than the correct HTML elements, the developers seem to have gone with augmenting simple div elements with all sorts of React goodness to make it look, walk and quack like a treeview for everybody BUT technology that actually depends on semantic markup to be done according to spec. This means that:
SO ...yeah ... it's a treeview Jim, but not as we need it I'm afraid. This is pretty much the scenario I was envisioning when I first reached out and I am extremely happy this is a toggle for now ;) How do we fix?That's an interesting one, I don't know how much of the UI is custom. If you wrote this mostly from scratch you should know enough now on how to fix. If you didn't, then this isn't necessarily something Dendron needs to fix unless you want to contribute the fixes upstream. This really is an Ante issue in that case, though. |
Heads up, I just went to go look at what the example treeview looks like over at their website and see the exact same behavior, so this is definitely an Ant issue. I opened an issue on their repo for this here: |
Hey, thanks for taking a look and apologies for the delayed response. Antd has a lot of components but one thing they've known to lack is accessibility. We'll look at other tree views. We're also coming out with a calendar widget this week, would be great to get your feedback on that as well, accessibility wise. The web ui is currently opt in and we'll keep the old views around for as long as necessary until we have an accessible web ui equivalent. this might take some time since we currently have a bunch of projects that we're juggling so please bear with us in the meantime. if you have any recommendations for resources and qa tools in this area, we'll make a best effort to take this into account |
All good :) I essentially got told that my issue "was a good feature idea, and they were awaiting my pull request". Needless to say ...i gave that one up for now. An alternative is the second link in my feedback comment, or this one, though note that that one has not been updated in two years and may therefore not be compatible with latest react: Thanks a bunch for keeping this topic in mind,and I'd be happy to look at the calendar, just let me know what to look at when :) |
Does VSCode itself use a tree component from some library or did they build it from scratch? If it's external, maybe you can just use that. |
I think they built it from scratch. But there are a bunch of options in
terms of accessible tree view components. For now we will make sure that
the old tree view doesn't go away until we implement an accessible solution
…On Sat, Jun 19, 2021 at 6:32 PM Aleksey Rowan ***@***.***> wrote:
Does VSCode itself use a tree component from some library or did they
build it from scratch? If it's external, maybe you can just use that.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#728 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADD52OBWKM2AS44ZMATOP3TTVAKRANCNFSM446YKVSA>
.
|
I have a few requests for the new tree view (is this a good place to post them?):
Although, it probably makes no sense to do any of the above if you are going to replace the Ant tree with something else in the near future. |
Context
Dendron should have it's own native panel inside VSCode
Foundational for future UI features + Authentication.
Proposal
The text was updated successfully, but these errors were encountered: