Open geospatialem opened 3 weeks ago
Adding design
for expertise on the following:
Remove dragging via arrows by default. Instead offer a method to enter or leave the drag mode, such as a button to enter, listen for the keystrokes, respond, then Escape or Space to exit.
Remove aria-grabbed due to its deprecation and inconsistent support
We never added this so ✅
Nice to have: Provide context if at the edge of the viewport.
This one would be a bit tough to do.
Check existing issues
Summary
The component provides some support to assistive technology (AT) users, but its unclear of the support since they must enter via forms mode to access the component, and they may enable the functionality without knowing and will not receive context of their changes.
Actual Behavior
In forms mode AT users may activate
dragEnabled
using the arrow keys unknowingly. Users are not currently provided context of the changes made for bothdragEnabled
andresizable
, so they could be unaware of any changes taking place.Expected Behavior
aria-grabbed
due to its deprecation and inconsistent supportReproduction Sample
https://codepen.io/geospatialem/pen/BagmoWa
Reproduction Steps
Enter
keyInst
+spacebar
keysshift
+ arrow keys) works, but its not intuitive after entering form mode nor is context provided to the userReproduction Version
2.12.0
Working W3C Example/Tutorial
https://www.nngroup.com/articles/drag-drop/#toc-accessibility-for-draganddrop-4
Relevant Info
Confirmed with JAWS and NVDA on Windows browsers
Regression?
No response
Priority impact
impact - p2 - want for an upcoming milestone
Calcite package
Esri team
Calcite (dev)