Commit 3b3186c6 by Chris Rodriguez

AC-531 fixing nav-aria-label ignores in the platform

parent 6fe894f3
......@@ -190,7 +190,7 @@
% if static.show_language_selector():
<% languages = static.get_released_languages() %>
% if len(languages) > 1:
<nav class="user-language-selector">
<nav class="user-language-selector" aria-label="${_('Language preference')}">
<form action="/i18n/setlang/" method="post" class="settings-language-form" id="language-settings-form">
<input type="hidden" id="csrf_token" name="csrfmiddlewaretoken" value="${csrf_token}">
% if user.is_authenticated():
......
......@@ -657,7 +657,6 @@ class StudioLibraryA11yTest(StudioLibraryTest):
lib_page.a11y_audit.config.set_rules({
"ignore": [
'link-href', # TODO: AC-226
'nav-aria-label', # TODO: AC-227
'icon-aria-hidden', # TODO: AC-229
],
})
......
......@@ -504,7 +504,6 @@ class StudioSettingsA11yTest(StudioCourseTest):
self.settings_page.a11y_audit.config.set_rules({
"ignore": [
'link-href', # TODO: AC-226
'nav-aria-label', # TODO: AC-227
'icon-aria-hidden', # TODO: AC-229
],
})
......
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