summaryrefslogtreecommitdiff
path: root/django/views/templates
diff options
context:
space:
mode:
authorJay Patel <jbp@somaiya.edu>2024-10-05 11:26:59 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-10-17 14:23:24 +0200
commit8b1a3a56438ce99fe9058f078a6bdd92a01e1130 (patch)
tree1fc7de4e32611d521db97653947de9c8fa004b85 /django/views/templates
parent48fa531fbcd96af301781a6e5192509081d7dd2d (diff)
Fixed #35795 -- Added role="button" to links acting as buttons for screen readers.
Diffstat (limited to 'django/views/templates')
-rw-r--r--django/views/templates/technical_500.html2
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">