summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-02-05 08:56:42 +0100
committerAlexandre FLAMENT <alexandre.flament@hesge.ch>2022-03-08 19:37:21 +0000
commita250ddadb9b366cf7aadf82ae97bf2fc4e837a87 (patch)
tree1fe101f3dbd8ce5f0b75a67cde1419c5004a642b /tests
parente1319fc21c713cfb9675389ba38f37e10cf77cd2 (diff)
[enh] simple: basic ARIA fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py
index 872b8d01..c29fed0d 100644
--- a/tests/unit/test_webapp.py
+++ b/tests/unit/test_webapp.py
@@ -194,7 +194,7 @@ class ViewsTestCase(SearxTestCase):
self.assertIn(
b'<input type="checkbox" id="checkbox_general" name="category_general" checked="checked"/>', result.data
)
- self.assertIn(b'<legend>Interface language</legend>', result.data)
+ self.assertIn(b'<legend id="pref_locale">Interface language</legend>', result.data)
def test_browser_locale(self):
result = self.app.get('/preferences', headers={'Accept-Language': 'zh-tw;q=0.8'})