Skip to content

Commit

Permalink
Fix keyboard shortcuts modal accessibility
Browse files Browse the repository at this point in the history
updated the ID of the keyboard shortcuts modal to "shortcutsModal" for better accessibility

Fixes WeblateOrg#5064
  • Loading branch information
meel-hd committed Sep 5, 2024
1 parent 74e0d74 commit 6427389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weblate/templates/keyboard-shortcuts.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<button type="button" class="close" data-dismiss="modal" aria-label="{% trans " Close" %}">
<span aria-hidden="true">&times;
</button>
<h4 class="panel-title">{% trans "Available Shortcuts" %}</h4>
<h4 id="shortcutsModal" class="panel-title">{% trans "Available Shortcuts" %}</h4>
</div>
<div class="modal-body" id="shortcuts-table-container">
<table class="table table-striped">
Expand Down

0 comments on commit 6427389

Please sign in to comment.