re: Simple Drag and Drop in Ember Octane VIEW POST


Randomly curious why role="button" showed up mid-post.

Thanks so much for this content!


Ah, mostly that was a copy and paste from the github code I made for this project. Having a role="button", keeps the linter quiet. It's important to define roles on elements without implied actions (like <button>) for screen readers and other accessibility reasons.

It's not required for any drag specific results though.

code of conduct - report abuse