Merge pull request #13901 from edx/TNL-5281_labelUpdate

Updates to correct a11y issues with CodeMirror
This commit is contained in:
Albert (AJ) St. Aubin
2016-11-04 10:33:54 -04:00
committed by GitHub
4 changed files with 11 additions and 13 deletions

View File

@@ -502,15 +502,6 @@ class StudioSettingsA11yTest(StudioCourseTest):
],
})
# TODO: Figure out how to get CodeMirror to pass accessibility testing
# We use the CodeMirror Javascript library to
# add code editing to a number of textarea elements
# on this page. CodeMirror generates markup that does
# not pass our accessibility testing rules.
self.settings_page.a11y_audit.config.set_scope(
exclude=['.CodeMirror textarea'] # TODO: TNL-5831
)
self.settings_page.a11y_audit.check_for_accessibility_errors()