Replace broken aria-labelledby with aria-label in help modal.

Fixes #4921.
This commit is contained in:
Cory Lynch 2017-05-26 22:23:25 -04:00 committed by Tim Abbott
parent 30e54a94f2
commit c95abd4618
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<div class="overlay-modal" id="keyboard-shortcuts" tabindex="-1" role="dialog"
aria-labelledby="keyboard-shortcuts-label" aria-hidden="true">
aria-label="{{ _('Keyboard shortcuts') }}" aria-hidden="true">
<div class="modal-body" tabindex="1">
<div>
<table class="hotkeys_table table table-striped table-bordered table-condensed">

View File

@ -1,5 +1,5 @@
<div class="overlay-modal hide" id="markdown-help" tabindex="-1" role="dialog"
aria-labelledby="markdown-help-label" aria-hidden="true">
aria-label="{{ _('Message formatting') }}" aria-hidden="true">
<div class="modal-body" tabindex="1">
<div id="markdown-instructions">
<table class="table table-striped table-condensed table-rounded table-bordered help-table">

View File

@ -1,5 +1,5 @@
<div class="overlay-modal hide" id="search-operators" tabindex="-1" role="dialog"
aria-labelledby="search-operators-label" aria-hidden="true">
aria-label="{{ _('Search operators') }}" aria-hidden="true">
<div class="modal-body" tabindex="1">
<table class="table table-striped table-condensed table-rounded table-bordered help-table">
<thead>