mirror of
https://github.com/django/django.git
synced 2025-10-30 00:56:09 +00:00
Fixed #34909 -- Associated links in admin navigation sidebar with row descriptions.
This adds aria-describedby attribute to the models' links in the admin navigation sidebar. Thanks Thibaud Colas for the review. Co-authored-by: Dara Silvera <dsilvera@octobot.io>
This commit is contained in:
committed by
Mariusz Felisiak
parent
5b885106a7
commit
c83c639ba0
@@ -111,9 +111,10 @@ class AdminSidebarTests(TestCase):
|
||||
self.assertContains(response, '<tr class="model-héllo current-model">')
|
||||
self.assertContains(
|
||||
response,
|
||||
'<th scope="row">'
|
||||
'<th scope="row" id="admin_views-héllo">'
|
||||
'<a href="/test_sidebar/admin/admin_views/h%C3%A9llo/" aria-current="page">'
|
||||
"Héllos</a></th>",
|
||||
html=True,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user