Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
xblock-drag-and-drop-v2
Commits
e02f1e9a
Commit
e02f1e9a
authored
May 13, 2016
by
Braden MacDonald
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #67 from open-craft/jill/fix-a11y-remove-role
Removes role="application"
parents
5a5efe9a
a6786f47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drag_and_drop_v2/public/js/drag_and_drop.js
+1
-1
tests/integration/test_render.py
+1
-1
No files found.
drag_and_drop_v2/public/js/drag_and_drop.js
View file @
e02f1e9a
...
...
@@ -279,7 +279,7 @@ function DragNDropTemplates(url_name) {
problemHeader
,
h
(
'p'
,
{
innerHTML
:
ctx
.
problem_html
}),
]),
h
(
'section.drag-container'
,
{
attributes
:
{
role
:
'application'
}
},
[
h
(
'section.drag-container'
,
{},
[
h
(
'div.item-bank'
,
renderCollection
(
itemTemplate
,
items_in_bank
,
ctx
)
...
...
tests/integration/test_render.py
View file @
e02f1e9a
...
...
@@ -161,7 +161,7 @@ class TestDragAndDropRender(BaseIntegrationTest):
def
test_drag_container
(
self
):
self
.
load_scenario
()
item_bank
=
self
.
_page
.
find_element_by_css_selector
(
'.drag-container'
)
self
.
assert
Equal
(
item_bank
.
get_attribute
(
'role'
),
'application'
)
self
.
assert
IsNone
(
item_bank
.
get_attribute
(
'role'
)
)
def
test_zones
(
self
):
self
.
load_scenario
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment