-
Notifications
You must be signed in to change notification settings - Fork 26
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
Accessibility Review #6
Comments
First of all, thanks for reviewing Dragon Drop! I think some very useful things came out of this. A common theme in the feedback is the lack of discoverability. This is a direct result of there being no widely adopted convention on how keyboard users interact with drag-and-drop lists. I hope my approach can be refined and become widely used so keyboard users have expectations on how it all works. Unfortunately there are no ARIA authoring practices and nothing but deprecated Here is my feedback:
Yep, would love to add support for that but haven't had time. This is open source so feel free to contribute!
Keep in mind Dragon Drop is a module so it can be implemented any way you want. Things like making it discoverable and even describing how to interact with it is up to the implementer. The demo is just an example call to dragon drop.
Enter and space are coded to do the exact same thing (that's how native button elements work). The 2 behaving differently is definitely the result of the screen reader being used during your testing. With VoiceOver, enter and space both toggle the button but I have't tested dragon drop in a while with JAWS and NVDA so I will look into whats going on there.
The only way I can think of making this functionality discoverable is including this info in the help text so I suggest doing so in implementing DragonDrop
Agreed, a throttle would be nice!
This is just how the demo happens to do it. Once again, its up to the implementer to decide how they want to associate help text with the controls. An approach I personally like to use is the make the
That shouldn't be a problem. The 2 demos happen to use lists but if you pass DragonDrop a grid, that's fine Also, I noticed that dragula was in list of modules to review. I think its important to note that DragonDrop uses dragula for it's mouse functionality (I didn't want to re-invent the wheel with mouse dragging and dropping). |
I don't have a drupal account so I couldn't respond there. If you could link to this comment that would be appreciated |
@schne324 thanks for this response. I'll make sure to add it to the thread. There is some movement with Shopify/draggable#48 that might have some ideas to build on too. We're trying to share best practices here so that there are patterns that are easier to adapt. |
@schne324 I was doing some testing on NVDA today, and tried out Dragon Drop. It took me a few tries to remember I was in |
@1Copenut thanks for the suggestion! I've actually noticed that too while performing NVDA tests. IMO that should be up to the implementer of dragon drop. As I described above, I can only provide demos of recommended approaches. I will add some offscreen text directing NVDA users to ensure they are in focus mode to the demos though |
@schne324 You're welcome. I agree, you can only provide demos of recommended approaches. I feel that sets a good precedent; many times I've used code as the demo described, so having that allowance in place encourages adoption. Thank you for the work on Dragon Drop. |
I think this conversation is a great resource for the general a11y of Dragon Drop which is why I am linking to it in the readme. Thanks again to @mgifford and the others at drupal for the valuable feedback. @1Copenut thanks to your great feedback I have updated the demos with offscreen instructions to switch screen reader into focus mode! closing this ticket -- if any specific a11y issues are found please create a new ticket Cheers! |
Would be great to get feedback on:
https://www.drupal.org/project/drupal/issues/2920006#comment-12322128
The text was updated successfully, but these errors were encountered: