Added tabindex and accesskeys for common input controls.

This commit is contained in:
Gunther Brunner
2014-07-16 20:05:34 +09:00
parent e922b263f7
commit 700c320257
6 changed files with 11 additions and 8 deletions

View File

@@ -14,7 +14,8 @@
form
.input-group
input.form-control(type='text', placeholder='http://...', autocomplete='off', ng-model='textURL',
typeahead='url for url in urlHistory | filter:$viewValue', text-focus-select).form-control
typeahead='url for url in urlHistory | filter:$viewValue', text-focus-select,
accesskey='N', tabindex='10').form-control
.input-group-btn
button(ng-click='openURL()', ng-disabled='!textURL', translate).btn.btn-primary-outline Open