mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-08 19:28:29 +02:00
Accessibility improvements in page structure (#1014)
* Change app link to not use heading * Use main and h1 for main content * Update settings page structure * Fix responsive styles * Update bookmark form page structure * Update auth page structure * Add some basic page titles * Expose side panel section * Add page title for bookmark details * Expose more sections * Improve region names
This commit is contained in:
@@ -593,7 +593,7 @@ class SettingsGeneralViewTestCase(TestCase, BookmarkFactoryMixin):
|
||||
html = response.content.decode()
|
||||
|
||||
self.assertInHTML(
|
||||
"<h2>Global settings</h2>",
|
||||
'<h2 id="global-settings-heading">Global settings</h2>',
|
||||
html,
|
||||
count=0,
|
||||
)
|
||||
@@ -605,7 +605,7 @@ class SettingsGeneralViewTestCase(TestCase, BookmarkFactoryMixin):
|
||||
html = response.content.decode()
|
||||
|
||||
self.assertInHTML(
|
||||
"<h2>Global settings</h2>",
|
||||
'<h2 id="global-settings-heading">Global settings</h2>',
|
||||
html,
|
||||
count=1,
|
||||
)
|
||||
|
Reference in New Issue
Block a user