diff options
| author | Jay Patel <jbp@somaiya.edu> | 2024-10-05 11:26:59 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-10-17 14:23:24 +0200 |
| commit | 8b1a3a56438ce99fe9058f078a6bdd92a01e1130 (patch) | |
| tree | 1fc7de4e32611d521db97653947de9c8fa004b85 /django/views/templates/technical_500.html | |
| parent | 48fa531fbcd96af301781a6e5192509081d7dd2d (diff) | |
Fixed #35795 -- Added role="button" to links acting as buttons for screen readers.
Diffstat (limited to 'django/views/templates/technical_500.html')
| -rw-r--r-- | django/views/templates/technical_500.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/templates/technical_500.html b/django/views/templates/technical_500.html index 31f0dfe1b9..a2fc8415f5 100644 --- a/django/views/templates/technical_500.html +++ b/django/views/templates/technical_500.html @@ -212,7 +212,7 @@ {% endif %} {% if frames %} <div id="traceback"> - <h2>Traceback{% if not is_email %} <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);"> + <h2>Traceback{% if not is_email %} <span class="commands"><a href="#" role="button" onclick="return switchPastebinFriendly(this);"> Switch to copy-and-paste view</a></span>{% endif %} </h2> <div id="browserTraceback"> |
