mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-27 23:06:48 -04:00
change focus order for accessibility
tabbing out of the textarea jumps to the "Create" button, then the tab-toggle
This commit is contained in:
+3
-3
@@ -567,7 +567,7 @@ if ($isPage) :
|
||||
<span class="glyphicon glyphicon-file" aria-hidden="true"></span> <?php echo I18n::_('New'), PHP_EOL;
|
||||
else :
|
||||
?>
|
||||
<button id="sendbutton" type="button" class="hidden btn btn-<?php echo $isDark ? 'warning' : 'primary'; ?>">
|
||||
<button id="sendbutton" type="button" tabindex="2" class="hidden btn btn-<?php echo $isDark ? 'warning' : 'primary'; ?>">
|
||||
<span class="glyphicon glyphicon-upload" aria-hidden="true"></span> <?php echo I18n::_('Create'), PHP_EOL;
|
||||
endif;
|
||||
?>
|
||||
@@ -583,10 +583,10 @@ endif;
|
||||
<pre id="prettyprint" class="col-md-12 prettyprint linenums:1"></pre>
|
||||
</div>
|
||||
<div id="plaintext" class="col-md-12 hidden"></div>
|
||||
<p class="col-md-12"><textarea id="message" name="message" cols="80" rows="25" class="form-control hidden"></textarea></p>
|
||||
<p class="col-md-12"><textarea id="message" name="message" cols="80" rows="25" tabindex="1" class="form-control hidden"></textarea></p>
|
||||
<p class="col-md-12 checkbox">
|
||||
<label>
|
||||
<input id="messagetab" type="checkbox" checked="checked" />
|
||||
<input id="messagetab" type="checkbox" tabindex="3" checked="checked" />
|
||||
<?php echo I18n::_('Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)'), PHP_EOL; ?>
|
||||
</label>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user