Skip to content
Browse files

MDL-42876 Screen reader does not trigger the keyboard move

  • Loading branch information...
1 parent f098ca6 commit c68fa5fcbbae32acf2647eab1ebdf1e4a69e4379 @mouneyrac mouneyrac committed with Sam Hemelryk Nov 21, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/yui/dragdrop/dragdrop.js
View
3 lib/yui/dragdrop/dragdrop.js
@@ -59,7 +59,8 @@ YUI.add('moodle-core-dragdrop', function(Y) {
.setAttribute('title', title)
.setAttribute('tabIndex', 0)
.setAttribute('data-draggroups', this.groups)
- .setAttribute('aria-grabbed', 'false');
+ .setAttribute('aria-grabbed', 'false')
+ .setAttribute('role', 'button');
dragelement.appendChild(dragicon);
dragelement.addClass(MOVEICON.cssclass);

0 comments on commit c68fa5f

Please sign in to comment.
Something went wrong with that request. Please try again.