Merge pull request #13007 from edx/clrux/ac-531
AC-531 fixing nav-aria-label ignores in the platform
This commit is contained in:
@@ -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
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user