Commit cafdbe77 by Jonathan Piacenti

Reverse feedback accessibility mod that didn't work.

parent 6e01e26c
...@@ -241,13 +241,11 @@ function DragNDropTemplates(url_name) { ...@@ -241,13 +241,11 @@ function DragNDropTemplates(url_name) {
h( h(
popupSelector, popupSelector,
{ {
attributes: {'aria-live': 'polite', 'tabindex': 0}, attributes: {'aria-live': 'polite'},
style: {display: ctx.popup_html ? 'block' : 'none'}, style: {display: ctx.popup_html ? 'block' : 'none'},
}, },
[ [
h('button.unbutton.close.icon-remove-sign.fa-times-circle', [ h('div.close.icon-remove-sign.fa-times-circle'),
h('div', {attributes: {'class': 'sr'}}, gettext("Close"))
]),
h('p.popup-content', {innerHTML: ctx.popup_html}), h('p.popup-content', {innerHTML: ctx.popup_html}),
] ]
), ),
...@@ -508,7 +506,6 @@ function DragAndDropBlock(runtime, element, configuration) { ...@@ -508,7 +506,6 @@ function DragAndDropBlock(runtime, element, configuration) {
updateDOM(); updateDOM();
destroyDraggable(); destroyDraggable();
$element.find('div.popup').focus()
if (!state.finished) { if (!state.finished) {
initDraggable(); initDraggable();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment