mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
Improve aria tags for view mode labels
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
445a3787d9
commit
bb4acb02bc
1 changed files with 6 additions and 6 deletions
|
@ -78,14 +78,14 @@
|
|||
<div class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav navbar-form navbar-left" style="padding:0;">
|
||||
<div class="btn-group" data-toggle="buttons">
|
||||
<label class="btn btn-default ui-view" title="<%= __('View') %> (Ctrl+Alt+V)">
|
||||
<input type="radio" name="mode" autocomplete="off"><i class="fa fa-eye"></i>
|
||||
<label class="btn btn-default ui-view" for="view-mode-toggle-view" title="<%= __('View') %> (Ctrl+Alt+V)" aria-label="<%= __('View') %> (Ctrl+Alt+V)">
|
||||
<input type="radio" name="mode" id="view-mode-toggle-view" autocomplete="off"><i class="fa fa-eye"></i>
|
||||
</label>
|
||||
<label class="btn btn-default ui-both" title="<%= __('Both') %> (Ctrl+Alt+B)">
|
||||
<input type="radio" name="mode" autocomplete="off"><i class="fa fa-columns"></i>
|
||||
<label class="btn btn-default ui-both" for="view-mode-toggle-both" title="<%= __('Both') %> (Ctrl+Alt+B)" aria-label="<%= __('Both') %> (Ctrl+Alt+B)">
|
||||
<input type="radio" name="mode" id="view-mode-toggle-both" autocomplete="off"><i class="fa fa-columns"></i>
|
||||
</label>
|
||||
<label class="btn btn-default ui-edit" title="<%= __('Edit') %> (Ctrl+Alt+E)">
|
||||
<input type="radio" name="mode" autocomplete="off"><i class="fa fa-pencil"></i>
|
||||
<label class="btn btn-default ui-edit" for="view-mode-toggle-edit" title="<%= __('Edit') %> (Ctrl+Alt+E)" aria-label="<%= __('Edit') %> (Ctrl+Alt+E)">
|
||||
<input type="radio" name="mode" id="view-mode-toggle-edit" autocomplete="off"><i class="fa fa-pencil"></i>
|
||||
</label>
|
||||
</div>
|
||||
<div class="btn-group" data-toggle="buttons">
|
||||
|
|
Loading…
Reference in a new issue