Merge pull request #894 from dalf/simple-aria-1

[enh] simple: basic ARIA fixes
This commit is contained in:
Alexandre Flament 2022-03-19 12:00:03 +01:00 committed by GitHub
commit b692035120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 62 additions and 64 deletions

View file

@ -198,7 +198,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'})